X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fdatasheet.c;h=ef2024873b72eb432f35a9164009e6b41ea7d36b;hb=a49b940e58f148bf111c647d9b4822025636ff80;hp=e9d2b2f3528f8aef209809df6677b4e76e0dc047;hpb=dc331e08118a1c299a41069f6f51183176b27621;p=pspp diff --git a/src/data/datasheet.c b/src/data/datasheet.c index e9d2b2f352..ef2024873b 100644 --- a/src/data/datasheet.c +++ b/src/data/datasheet.c @@ -175,7 +175,7 @@ value_to_data (const union value *value_, int width) if (width == 0) return &value->f; else - return value_str_rw (value, width); + return value->s; } /* Returns the number of bytes needed to store all the values in