Merge "Fix "ordered comparison between pointer and zero"."
This commit is contained in:
commit
a844bc9649
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ int res_create_multi_display_surface(const char* name, int* frames, int* fps,
|
|||
printf(" found fps = %d\n", *fps);
|
||||
}
|
||||
|
||||
if (frames <= 0 || fps <= 0) {
|
||||
if (*frames <= 0 || *fps <= 0) {
|
||||
printf("bad number of frames (%d) and/or FPS (%d)\n", *frames, *fps);
|
||||
result = -10;
|
||||
goto exit;
|
||||
|
|
Loading…
Reference in a new issue