X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-case-file.c;h=156266339fdc8c6c48494f5eecc1dc00ec69f038;hb=e850a37743edb8035b15c4ed313a2b8fdafdc696;hp=ee31c013c33de76c16817fa679708ec1d4cf0ee1;hpb=1c9e32859d6da9505e1904d5b0f95cfd276a734e;p=pspp diff --git a/src/ui/gui/psppire-case-file.c b/src/ui/gui/psppire-case-file.c index ee31c013c3..156266339f 100644 --- a/src/ui/gui/psppire-case-file.c +++ b/src/ui/gui/psppire-case-file.c @@ -32,7 +32,7 @@ #include #include "xalloc.h" -#include "xallocsa.h" +#include "xmalloca.h" /* --- prototypes --- */ static void psppire_case_file_class_init (PsppireCaseFileClass *class); @@ -312,7 +312,7 @@ psppire_case_file_data_in (PsppireCaseFile *cf, gint casenum, gint idx, g_return_val_if_fail (idx < datasheet_get_column_cnt (cf->datasheet), FALSE); width = fmt_var_width (fmt); - value = xallocsa (value_cnt_from_width (width) * sizeof *value); + value = xmalloca (value_cnt_from_width (width) * sizeof *value); ok = (datasheet_get_value (cf->datasheet, casenum, idx, value, width) && data_in (input, fmt->type, 0, 0, value, width) && datasheet_put_value (cf->datasheet, casenum, idx, value, width));