From 995103519239c2a59ff77b918f8371f34ff0c4c8 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 12 Jul 2009 23:44:36 +0800 Subject: [PATCH] Fix compiler warning in test program --- tests/data/datasheet-test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/data/datasheet-test.c b/tests/data/datasheet-test.c index a9f4bf2f..c46c2683 100644 --- a/tests/data/datasheet-test.c +++ b/tests/data/datasheet-test.c @@ -20,6 +20,7 @@ #include #include +#include #include #include @@ -404,7 +405,7 @@ value_from_param (union value *value, int width, unsigned int idx) else { unsigned int hash = hash_int (idx, 0); - char *string = value_str_rw (value, width); + uint8_t *string = value_str_rw (value, width); int offset; assert (width < 32); -- 2.30.2