mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-19 16:54:08 +10:00
Tweak, these were annoying me
This commit is contained in:
@@ -159,7 +159,7 @@ static unsigned char readByte(const unsigned char* tb, int* count) {
|
||||
|
||||
static const char* readString(const unsigned char* tb, int* count) {
|
||||
const unsigned char* ret = tb + *count;
|
||||
*count += strlen((char*)ret) + 1; //+1 for null character
|
||||
*count += (int)strlen((char*)ret) + 1; //+1 for null character
|
||||
return (const char*)ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user