2021.05.10

This commit is contained in:
Seymour Shlien
2021-05-12 10:57:42 -04:00
parent 2ed90eeff0
commit 96570dbb2d
5 changed files with 36 additions and 4 deletions

View File

@@ -420,7 +420,7 @@ int check_power_of_two(int denom)
if (t % 2 != 0) {
snprintf(error_message, 80, "%d b is not a power of 2", denom);
event_error (error_message);
return 0;
return -1;
} else {
t = t / 2;
}