Tweak, these were annoying me

This commit is contained in:
2023-07-31 12:06:04 +10:00
parent 7f692b4cb4
commit 35bfa1b9f1
2 changed files with 5 additions and 5 deletions

View File

@@ -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;
}