signed/unsigned fixes, and some other fixes

This commit is contained in:
erorcun
2020-12-27 05:23:37 +03:00
parent c5010d443c
commit 36e64dbd22
13 changed files with 48 additions and 43 deletions

View File

@@ -26,7 +26,7 @@ public:
CKeyArray(void) : entries(nil), numEntries(0) {}
~CKeyArray(void) { Unload(); }
void Load(size_t length, uint8 *data, intptr_t *offset);
void Load(size_t length, uint8 *data, ssize_t *offset);
void Unload(void);
void Update(wchar *chars);
CKeyEntry *BinarySearch(const char *key, CKeyEntry *entries, int16 low, int16 high);
@@ -45,7 +45,7 @@ public:
CData(void) : chars(nil), numChars(0) {}
~CData(void) { Unload(); }
void Load(size_t length, uint8 *data, intptr_t *offset);
void Load(size_t length, uint8 *data, ssize_t *offset);
void Unload(void);
};