X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=blobdiff_plain;f=tests%2Fdata%2Fdatasheet-test.c;h=c46c268376c77031baff7e6c06fa14a44808bd65;hp=a9f4bf2fb27f43b525fb764c07fb14c706d111d6;hb=995103519239c2a59ff77b918f8371f34ff0c4c8;hpb=dc4da1f8120bddad12c1326714438f05b594e6e1 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);