Merge "Fix "ordered comparison between pointer and zero"." am: a844bc9649
am: 08c4130493

Change-Id: I27e56f2771c2f618c81b31bf8f36ccd5dc859a27
diff --git a/minui/resources.cpp b/minui/resources.cpp
index 730b05f..455ef27 100644
--- a/minui/resources.cpp
+++ b/minui/resources.cpp
@@ -269,7 +269,7 @@
         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;