projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work to get rid of GCC 4.0 warnings, part 2.
[pspp]
/
src
/
means.q
diff --git
a/src/means.q
b/src/means.q
index 7dca14b2ffdb364c87570fc415ee75312645a30f..baad486b0cc4edd172f0ab1e1bccaf13444e0753 100644
(file)
--- a/
src/means.q
+++ b/
src/means.q
@@
-14,8
+14,8
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#include <config.h>
#include <stdlib.h>
#include <config.h>
#include <stdlib.h>
@@
-29,6
+29,10
@@
#include "error.h"
#include "magic.h"
#include "var.h"
#include "error.h"
#include "magic.h"
#include "var.h"
+
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
+
/* (headers) */
#include "debug-print.h"
/* (headers) */
#include "debug-print.h"
@@
-49,7
+53,7
@@
/* TABLES: Variable lists for each dimension. */
int n_dim; /* Number of dimensions. */
/* TABLES: Variable lists for each dimension. */
int n_dim; /* Number of dimensions. */
-
int *nv_dim;
/* Number of variables in each dimension. */
+
size_t *nv_dim;
/* Number of variables in each dimension. */
struct variable ***v_dim; /* Variables in each dimension. */
/* VARIABLES: List of variables. */
struct variable ***v_dim; /* Variables in each dimension. */
/* VARIABLES: List of variables. */
@@
-141,7
+145,7
@@
mns_custom_tables (struct cmd_means *cmd)
do
{
do
{
-
in
t nvl;
+
size_
t nvl;
struct variable **vl;
if (!parse_var_set_vars (var_set, &vl, &nvl,
struct variable **vl;
if (!parse_var_set_vars (var_set, &vl, &nvl,