projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new output/ascii.h header to the distribution, fixing "make dist".
[pspp]
/
tests
/
data
/
datasheet-test.c
diff --git
a/tests/data/datasheet-test.c
b/tests/data/datasheet-test.c
index a9f4bf2fb27f43b525fb764c07fb14c706d111d6..98be04fe44b25c73a7cb608596b02296b3b3894c 100644
(file)
--- a/
tests/data/datasheet-test.c
+++ b/
tests/data/datasheet-test.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2009
, 2010
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
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
@@
-20,6
+20,7
@@
#include <ctype.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdlib.h>
+#include <stdint.h>
#include <string.h>
#include <data/casereader-provider.h>
#include <string.h>
#include <data/casereader-provider.h>
@@
-404,7
+405,7
@@
value_from_param (union value *value, int width, unsigned int idx)
else
{
unsigned int hash = hash_int (idx, 0);
else
{
unsigned int hash = hash_int (idx, 0);
-
char
*string = value_str_rw (value, width);
+
uint8_t
*string = value_str_rw (value, width);
int offset;
assert (width < 32);
int offset;
assert (width < 32);
@@
-747,7
+748,7
@@
enum
N_DATASHEET_OPTIONS
};
N_DATASHEET_OPTIONS
};
-static struct argv_option datasheet_argv_options[N_DATASHEET_OPTIONS] =
+static
const
struct argv_option datasheet_argv_options[N_DATASHEET_OPTIONS] =
{
{"max-rows", 0, required_argument, OPT_MAX_ROWS},
{"max-columns", 0, required_argument, OPT_MAX_COLUMNS},
{
{"max-rows", 0, required_argument, OPT_MAX_ROWS},
{"max-columns", 0, required_argument, OPT_MAX_COLUMNS},