X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcase.h;h=cf99e0226e4bb1883050f7d3be2b7611763cd58b;hb=a29bbbe97388bb6f9c9b4df36b448dfe5023363c;hp=541a3e2ebdc9c2c677a67fdfcc301e2e4f9f61ce;hpb=c9e2bf6cb988f8c00d89ccf191a28388cccbd868;p=pspp diff --git a/src/case.h b/src/case.h index 541a3e2ebd..cf99e0226e 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 unsigned char *case_str (const struct ccase *, size_t idx); +CASE_INLINE const 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 unsigned char * +static inline const char * case_str (const struct ccase *c, size_t idx) { return c->case_data->values[idx].s;