commit | a844bc9649d039f5f689b7e264993d35442833a3 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Mon Nov 14 18:18:38 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Nov 14 18:18:39 2016 +0000 |
tree | b0a9e3740470d384b4958d01fac673e11f21e6d6 | |
parent | 4c1f3eda98b2c0fde45f71de4fdcea2a46a67cbd [diff] | |
parent | 126cf8cda8334328058985a7a59a66b9c47e66a2 [diff] |
Merge "Fix "ordered comparison between pointer and zero"."
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;