Tweaked CFLAGS, and fixed related errors

This commit is contained in:
2024-12-12 16:18:41 +11:00
parent 5f4dfdccc5
commit fce71a6cda
19 changed files with 29 additions and 56 deletions

View File

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