summaryrefslogtreecommitdiffstats
path: root/src/rw/NodeName.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-07-22 13:56:28 +0200
committereray orçunus <erayorcunus@gmail.com>2020-07-24 19:26:33 +0200
commit732b7608299b1bbe40d65088498d9b37ab7d9265 (patch)
treeee2e85916ffadc40bc0564348ac5041196cbf28a /src/rw/NodeName.cpp
parentupdate librw (diff)
downloadre3-732b7608299b1bbe40d65088498d9b37ab7d9265.tar
re3-732b7608299b1bbe40d65088498d9b37ab7d9265.tar.gz
re3-732b7608299b1bbe40d65088498d9b37ab7d9265.tar.bz2
re3-732b7608299b1bbe40d65088498d9b37ab7d9265.tar.lz
re3-732b7608299b1bbe40d65088498d9b37ab7d9265.tar.xz
re3-732b7608299b1bbe40d65088498d9b37ab7d9265.tar.zst
re3-732b7608299b1bbe40d65088498d9b37ab7d9265.zip
Diffstat (limited to 'src/rw/NodeName.cpp')
-rw-r--r--src/rw/NodeName.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rw/NodeName.cpp b/src/rw/NodeName.cpp
index d62884f7..ad4acffb 100644
--- a/src/rw/NodeName.cpp
+++ b/src/rw/NodeName.cpp
@@ -51,7 +51,7 @@ RwInt32
NodeNameStreamGetSize(const void *object, RwInt32 offsetInObject, RwInt32 sizeInObject)
{
// game checks for null pointer on node name extension but that really happen
- return rwstrlen(NODENAMEEXT(object));
+ return (RwInt32)rwstrlen(NODENAMEEXT(object));
}
bool