Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a844bc96 authored by Tao Bao's avatar Tao Bao Committed by Gerrit Code Review
Browse files

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

parents 4c1f3eda 126cf8cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;