X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcase.h;h=541a3e2ebdc9c2c677a67fdfcc301e2e4f9f61ce;hb=1f8dd363d6c20d07fcca14cb948018465fa5ed8b;hp=cf99e0226e4bb1883050f7d3be2b7611763cd58b;hpb=4de79b34b329d1da6cdeb145993d3efd911e2967;p=pspp-builds.git diff --git a/src/case.h b/src/case.h index cf99e022..541a3e2e 100644 --- a/src/case.h +++ b/src/case.h @@ -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;