summaryrefslogtreecommitdiffstats
path: root/src/text/Text.h
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-12-27 03:23:37 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-12-27 03:23:37 +0100
commit36e64dbd22a7e5ec6fc33a5087ed9788f1874f84 (patch)
tree390b86b4bf74c2de93d74e854ece1487040e3469 /src/text/Text.h
parentfix a struct init (diff)
downloadre3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar
re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.gz
re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.bz2
re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.lz
re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.xz
re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.tar.zst
re3-36e64dbd22a7e5ec6fc33a5087ed9788f1874f84.zip
Diffstat (limited to '')
-rw-r--r--src/text/Text.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text/Text.h b/src/text/Text.h
index 52c17e27..ed978a8b 100644
--- a/src/text/Text.h
+++ b/src/text/Text.h
@@ -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);
};