mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-06 10:47:34 +01:00
Linux Bugfix
This commit is contained in:
parent
da06fc39db
commit
0ac85e0daf
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user