summaryrefslogtreecommitdiffstats
path: root/tests/smscb
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-11-09 16:32:43 +0000
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-11-09 16:46:03 +0000
commitfdb46676094c50f1d2dcebfcb5e051c2baf984ac (patch)
treea8b1e18e185c02b46aee62db09e6d3d84982581e /tests/smscb
parentee6652b4bcc1bffc0b7c181666c4c1b30f5abad2 (diff)
test: Fix compiler warnings on 64bit systems
Use %td to print ptrdiff_t use %zu to print size_t, include time.h on FreeBSD. Some more compiler warnings are left but they require more thinking.
Diffstat (limited to 'tests/smscb')
-rw-r--r--tests/smscb/gsm0341_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/smscb/gsm0341_test.c b/tests/smscb/gsm0341_test.c
index a8e32d47..c400f5c8 100644
--- a/tests/smscb/gsm0341_test.c
+++ b/tests/smscb/gsm0341_test.c
@@ -21,6 +21,7 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
+#include <time.h>
#include <osmocom/gsm/protocol/gsm_03_41.h>
#include <osmocom/gsm/gsm0341.h>