diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-07-22 14:56:28 +0300 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-07-24 20:26:33 +0300 |
commit | 732b7608299b1bbe40d65088498d9b37ab7d9265 (patch) | |
tree | ee2e85916ffadc40bc0564348ac5041196cbf28a /src/core/Camera.cpp | |
parent | 8117bcb56f00882c6cf4056431e82c9b7ef23308 (diff) |
64-bit on Windows
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 eeb8630a..9f3646e2 100644 --- a/src/core/Camera.cpp +++ b/src/core/Camera.cpp @@ -3376,15 +3376,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'; |