summaryrefslogtreecommitdiffstats
path: root/libpixelflinger/tests
diff options
context:
space:
mode:
authorAshok Bhat <ashok.bhat@arm.com>2014-02-17 15:15:46 +0000
committerElliott Hughes <enh@google.com>2014-02-20 14:21:55 -0800
commit3078b13b98ad8d29dcb2b7e3665c0c92944404a9 (patch)
treeb08136207e00f1bf58b5f3b8bef41548c7a7af51 /libpixelflinger/tests
parentacc0a23a20bf5e5db985661b2c8a8259d9e94498 (diff)
downloadsystem_core-3078b13b98ad8d29dcb2b7e3665c0c92944404a9.zip
system_core-3078b13b98ad8d29dcb2b7e3665c0c92944404a9.tar.gz
system_core-3078b13b98ad8d29dcb2b7e3665c0c92944404a9.tar.bz2
Fix compiler warnings in libpixelflinger
Change-Id: I6a5708ae6bc934b196d59d81a6cd550b05ed704f Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Diffstat (limited to 'libpixelflinger/tests')
-rw-r--r--libpixelflinger/tests/gglmul/gglmul_test.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libpixelflinger/tests/gglmul/gglmul_test.cpp b/libpixelflinger/tests/gglmul/gglmul_test.cpp
index 073368e..5d460d6 100644
--- a/libpixelflinger/tests/gglmul/gglmul_test.cpp
+++ b/libpixelflinger/tests/gglmul/gglmul_test.cpp
@@ -28,6 +28,7 @@
#include <stdio.h>
#include <stdint.h>
+#include <inttypes.h>
#include "private/pixelflinger/ggl_fixed.h"
@@ -260,12 +261,12 @@ void gglMulii_test()
if(actual == expected)
printf(" Passed\n");
else
- printf(" Failed Actual(%ld) Expected(%ld)\n",
+ printf(" Failed Actual(%" PRId64 ") Expected(%" PRId64 ")\n",
actual, expected);
}
}
-int main(int argc, char** argv)
+int main(int /*argc*/, char** /*argv*/)
{
gglClampx_test();
gglClz_test();