projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compiler warning in test program
[pspp-builds.git]
/
tests
/
data
/
datasheet-test.c
diff --git
a/tests/data/datasheet-test.c
b/tests/data/datasheet-test.c
index a9f4bf2fb27f43b525fb764c07fb14c706d111d6..c46c268376c77031baff7e6c06fa14a44808bd65 100644
(file)
--- a/
tests/data/datasheet-test.c
+++ b/
tests/data/datasheet-test.c
@@
-20,6
+20,7
@@
#include <ctype.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdlib.h>
+#include <stdint.h>
#include <string.h>
#include <data/casereader-provider.h>
#include <string.h>
#include <data/casereader-provider.h>
@@
-404,7
+405,7
@@
value_from_param (union value *value, int width, unsigned int idx)
else
{
unsigned int hash = hash_int (idx, 0);
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);
int offset;
assert (width < 32);