Fix wrong 'nonneg'
This commit is contained in:
parent
d2284ddbcd
commit
b30ef3d050
|
@ -521,7 +521,7 @@ static int multiComparePercent(const Token *tok, const char*& haystack, nonneg i
|
|||
return 0xFFFF;
|
||||
}
|
||||
|
||||
nonneg int Token::multiCompare(const Token *tok, const char *haystack, nonneg int varid)
|
||||
int Token::multiCompare(const Token *tok, const char *haystack, nonneg int varid)
|
||||
{
|
||||
const char *needle = tok->str().c_str();
|
||||
const char *needlePointer = needle;
|
||||
|
|
|
@ -616,7 +616,7 @@ public:
|
|||
* 0 if needle was empty string
|
||||
* -1 if needle was not found
|
||||
*/
|
||||
static nonneg int multiCompare(const Token *tok, const char *haystack, nonneg int varid);
|
||||
static int multiCompare(const Token *tok, const char *haystack, nonneg int varid);
|
||||
|
||||
nonneg int fileIndex() const {
|
||||
return mImpl->mFileIndex;
|
||||
|
|
Loading…
Reference in New Issue