From: John Darrington Date: Sun, 12 Jul 2009 15:44:36 +0000 (+0800) Subject: Fix compiler warning in test program X-Git-Tag: build37~53^2~8 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=995103519239c2a59ff77b918f8371f34ff0c4c8;p=pspp-builds.git Fix compiler warning in test program --- 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);