- Fix some warnings in MSVC.

This commit is contained in:
Mitchell Richters 2023-10-08 08:52:11 +11:00 committed by Christoph Oelckers
parent 7ba5d22d5d
commit 1859a902e0
2 changed files with 4 additions and 5 deletions

View file

@ -540,7 +540,6 @@ public:
}
uint8_t header[12];
int err;
File = file;
Size = uncompressed_size;

View file

@ -326,13 +326,13 @@ public:
int Compare (const FString &other) const { return strcmp (Chars, other.Chars); }
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 char *other, int len) const { return strncmp(Chars, other, len); }
int Compare(const FString &other, size_t len) const { return strncmp(Chars, other.Chars, 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 char *other) const { return stricmp (Chars, other); }
int CompareNoCase(const FString &other, int len) const { return strnicmp(Chars, other.Chars, len); }
int CompareNoCase(const char *other, int len) const { return strnicmp(Chars, other, len); }
int CompareNoCase(const FString &other, size_t len) const { return strnicmp(Chars, other.Chars, len); }
int CompareNoCase(const char *other, size_t len) const { return strnicmp(Chars, other, len); }
enum EmptyTokenType
{