diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-07-22 13:56:28 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-07-22 17:51:28 +0200 |
commit | 1dc6fbda1fbd9a731eb20b3ef71c3dda989e511e (patch) | |
tree | 5578c27b5739341d34def86586a68f1f1129e1bb /src/core/Camera.cpp | |
parent | README 64-bit preparation (diff) | |
download | re3-1dc6fbda1fbd9a731eb20b3ef71c3dda989e511e.tar re3-1dc6fbda1fbd9a731eb20b3ef71c3dda989e511e.tar.gz re3-1dc6fbda1fbd9a731eb20b3ef71c3dda989e511e.tar.bz2 re3-1dc6fbda1fbd9a731eb20b3ef71c3dda989e511e.tar.lz re3-1dc6fbda1fbd9a731eb20b3ef71c3dda989e511e.tar.xz re3-1dc6fbda1fbd9a731eb20b3ef71c3dda989e511e.tar.zst re3-1dc6fbda1fbd9a731eb20b3ef71c3dda989e511e.zip |
Diffstat (limited to 'src/core/Camera.cpp')
-rw-r--r-- | src/core/Camera.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp index 44749fd7..c253d00f 100644 --- a/src/core/Camera.cpp +++ b/src/core/Camera.cpp @@ -2978,15 +2978,15 @@ CCamera::LoadTrainCamNodes(char const *name) char token[16] = { 0 }; char filename[16] = { 0 }; uint8 *buf; - int bufpos = 0; + size_t bufpos = 0; int field = 0; int tokpos = 0; char c; int i; - int len; + size_t len; strcpy(filename, name); - len = strlen(filename); + len = (int)strlen(filename); filename[len] = '.'; filename[len+1] = 'd'; filename[len+2] = 'a'; |