Linux Bugfix

This commit is contained in:
AlexandreRouma 2022-01-22 05:37:19 +01:00 committed by GitHub
parent da06fc39db
commit 0ac85e0daf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -384,7 +384,7 @@ namespace SmGui {
// Check the type of each element
for (int i = 0; i < n; i++) {
if (va_arg(args, DrawListElemType) != elements[firstId + i].type) {
if (va_arg(args, int) != (int)elements[firstId + i].type) {
va_end(args);
return false;
}
@ -763,4 +763,4 @@ namespace SmGui {
void ForceSyncForNext() {
forceSyncForNext = true;
}
}
}