Merge "Fix "ordered comparison between pointer and zero"."

This commit is contained in:
Tao Bao 2016-11-14 18:18:38 +00:00 committed by Gerrit Code Review
commit a844bc9649

View file

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