mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Tweaked CFLAGS, and fixed related errors
This commit is contained in:
@@ -230,7 +230,7 @@ char* Toy_getStringRawBuffer(Toy_String* str) {
|
||||
}
|
||||
|
||||
//BUGFIX: Make sure it's aligned, and there's space for the null
|
||||
int len = (str->length + 3) & ~3;
|
||||
unsigned int len = (str->length + 3) & ~3;
|
||||
if (len == str->length) {
|
||||
len += 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user