summaryrefslogtreecommitdiffstats
path: root/tests/conv
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2013-08-14 18:13:46 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-08-14 18:22:54 +0200
commit3c761c8d8a3c7c2ebad6b088e3a8ddeec9d690e0 (patch)
tree708b7795c05e584f496189692c1847dad668a57a /tests/conv
parent6b2621883f4c0ce446bae52198c6169c02efda6b (diff)
conv: Fix main() of conv_test to compile with clang.
Fix type of argument 'argv'. Addresses: conv/conv_test.c:358:5: error: second parameter of 'main' (argument array) must be of type 'char **' int main(int argc, char argv[])
Diffstat (limited to 'tests/conv')
-rw-r--r--tests/conv/conv_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/conv/conv_test.c b/tests/conv/conv_test.c
index 54e043e9..ab651d43 100644
--- a/tests/conv/conv_test.c
+++ b/tests/conv/conv_test.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <time.h>
#include <osmocom/core/bits.h>
@@ -355,7 +356,7 @@ sbit_to_ubit(ubit_t *dst, sbit_t *src, int n)
}
-int main(int argc, char argv[])
+int main(int argc, char *argv[])
{
const struct conv_test_vector *tst;
ubit_t *bu0, *bu1;