X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcase.h;h=541a3e2ebdc9c2c677a67fdfcc301e2e4f9f61ce;hb=6c00e8aa67a343882caaeb9b794b4891b50b9be5;hp=af5fc049c2ef68605328c14c1e4efcb3613c47c1;hpb=4fdeb2145d081ff1b84e3f6c99f9d1c048c0d64a;p=pspp diff --git a/src/case.h b/src/case.h index af5fc049c2..541a3e2ebd 100644 --- a/src/case.h +++ b/src/case.h @@ -21,7 +21,7 @@ #define HEADER_CASE #include -#include "bool.h" +#include #include "val.h" /* Opaque structure that represents a case. Use accessor @@ -73,7 +73,7 @@ CASE_INLINE void case_from_values (struct ccase *, CASE_INLINE const union value *case_data (const struct ccase *, size_t idx); CASE_INLINE double case_num (const struct ccase *, size_t idx); -CASE_INLINE const char *case_str (const struct ccase *, size_t idx); +CASE_INLINE const unsigned char *case_str (const struct ccase *, size_t idx); CASE_INLINE union value *case_data_rw (struct ccase *, size_t idx); @@ -170,7 +170,7 @@ case_num (const struct ccase *c, size_t idx) return c->case_data->values[idx].f; } -static inline const char * +static inline const unsigned char * case_str (const struct ccase *c, size_t idx) { return c->case_data->values[idx].s;