X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Futilities%2Fset.q;h=9a7e841707f535076bf1ad0126f454dd17aa1ba8;hb=refs%2Fbuilds%2F20140212033042%2Fpspp;hp=8f59156e2b80a90b14c2f227f6ef773d712322ed;hpb=af563b6614fd4d6f2bf1bdd6f88b3b2c3a2ac732;p=pspp diff --git a/src/language/utilities/set.q b/src/language/utilities/set.q index 8f59156e2b..9a7e841707 100644 --- a/src/language/utilities/set.q +++ b/src/language/utilities/set.q @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000, 2006, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2006, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -875,7 +875,8 @@ show_width (const struct dataset *ds UNUSED) static char * show_workspace (const struct dataset *ds UNUSED) { - return xasprintf ("%d", settings_get_workspace ()); + size_t ws = settings_get_workspace () / 1024L; + return xasprintf ("%zu", ws); } static char *