summaryrefslogtreecommitdiffstats
path: root/src/text/Text.cpp
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.cpp
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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/text/Text.cpp b/src/text/Text.cpp
index f3324fd7..0c63ced7 100644
--- a/src/text/Text.cpp
+++ b/src/text/Text.cpp
@@ -23,7 +23,7 @@ CText::Load(void)
{
uint8 *filedata;
char filename[32], type[4];
- intptr_t offset, length;
+ ssize_t offset, length;
size_t sectlen;
Unload();
@@ -176,7 +176,7 @@ CText::UpperCase(wchar *s)
void
-CKeyArray::Load(size_t length, uint8 *data, intptr_t *offset)
+CKeyArray::Load(size_t length, uint8 *data, ssize_t *offset)
{
size_t i;
uint8 *rawbytes;
@@ -256,7 +256,7 @@ CKeyArray::Search(const char *key)
void
-CData::Load(size_t length, uint8 *data, intptr_t *offset)
+CData::Load(size_t length, uint8 *data, ssize_t *offset)
{
size_t i;
uint8 *rawbytes;