This commit is contained in:
Branimir Karadžić
2017-02-21 15:02:10 -08:00
parent d8cd914433
commit 65f728c0ce
3 changed files with 5 additions and 3 deletions

View File

@@ -143,7 +143,7 @@ namespace bx
const char* ptr = _str;
for (; 0 < _max && *ptr != '\0'; ++ptr, --_max) {};
return ptr - _str;
return int32_t(ptr - _str);
}
int32_t strlncpy(char* _dst, int32_t _dstSize, const char* _src, int32_t _num)