removed double-counted sample size
[pspp-builds.git] / src / case.h
index cf99e0226e4bb1883050f7d3be2b7611763cd58b..541a3e2ebdc9c2c677a67fdfcc301e2e4f9f61ce 100644 (file)
@@ -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;