commit | 0f819849701c0154f7207b6a8a31e06ebbbc2ff6 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Mon Nov 14 18:35:54 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Mon Nov 14 18:35:54 2016 +0000 |
tree | 525231a6f4fa41de60bf7232a0c7ff8f72cca6bd | |
parent | 91f736fe1a86f9951b5dc21906b9d8b06dfcf61c [diff] | |
parent | 08c4130493651bc5c7877804276fe6dd6b050f60 [diff] |
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;