mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-28 23:02:07 +00:00
fixed some signed-ness issues.
This commit is contained in:
parent
bfe589fecd
commit
448ca88bfd
2 changed files with 5 additions and 6 deletions
|
@ -540,7 +540,6 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t header[12];
|
uint8_t header[12];
|
||||||
int err;
|
|
||||||
File = file;
|
File = file;
|
||||||
|
|
||||||
Size = uncompressed_size;
|
Size = uncompressed_size;
|
||||||
|
@ -553,7 +552,7 @@ public:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
File->Seek(-sizeof(header), FileReader::SeekCur);
|
File->Seek(-(ptrdiff_t)sizeof(header), FileReader::SeekCur);
|
||||||
|
|
||||||
FillBuffer();
|
FillBuffer();
|
||||||
|
|
||||||
|
|
|
@ -324,13 +324,13 @@ public:
|
||||||
|
|
||||||
int Compare (const FString &other) const { return strcmp (Chars, other.Chars); }
|
int Compare (const FString &other) const { return strcmp (Chars, other.Chars); }
|
||||||
int Compare (const char *other) const { return strcmp (Chars, other); }
|
int Compare (const char *other) const { return strcmp (Chars, other); }
|
||||||
int Compare(const FString &other, int len) const { return strncmp(Chars, other.Chars, len); }
|
int Compare(const FString &other, size_t len) const { return strncmp(Chars, other.Chars, len); }
|
||||||
int Compare(const char *other, int len) const { return strncmp(Chars, other, len); }
|
int Compare(const char *other, size_t len) const { return strncmp(Chars, other, len); }
|
||||||
|
|
||||||
int CompareNoCase (const FString &other) const { return stricmp (Chars, other.Chars); }
|
int CompareNoCase (const FString &other) const { return stricmp (Chars, other.Chars); }
|
||||||
int CompareNoCase (const char *other) const { return stricmp (Chars, other); }
|
int CompareNoCase (const char *other) const { return stricmp (Chars, other); }
|
||||||
int CompareNoCase(const FString &other, int len) const { return strnicmp(Chars, other.Chars, len); }
|
int CompareNoCase(const FString &other, size_t len) const { return strnicmp(Chars, other.Chars, len); }
|
||||||
int CompareNoCase(const char *other, int len) const { return strnicmp(Chars, other, len); }
|
int CompareNoCase(const char *other, size_t len) const { return strnicmp(Chars, other, len); }
|
||||||
|
|
||||||
enum EmptyTokenType
|
enum EmptyTokenType
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue