commit | 08c4130493651bc5c7877804276fe6dd6b050f60 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Mon Nov 14 18:28:18 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Mon Nov 14 18:28:18 2016 +0000 |
tree | f619983d7391e762e4021a5271aa0de92ad47311 | |
parent | f2574b8206030158b319f96fd78d82840da73194 [diff] | |
parent | a844bc9649d039f5f689b7e264993d35442833a3 [diff] |
Merge "Fix "ordered comparison between pointer and zero"." am: a844bc9649 Change-Id: If12e825a23c17730a35a2875c14d1d25d9d41038
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;