projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(parse_rank_function) Fix msg() bug found by -Wformat.
[pspp]
/
src
/
sample.c
diff --git
a/src/sample.c
b/src/sample.c
index 96c5f4d9070705fadd7cebb297753aaec9ebd91b..631736d013f2083259d8b851a62ea76459253268 100644
(file)
--- a/
src/sample.c
+++ b/
src/sample.c
@@
-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 <gsl/gsl_rng.h>
#include <config.h>
#include <gsl/gsl_rng.h>
@@
-62,7
+62,7
@@
cmd_sample (void)
if (!lex_force_num ())
return CMD_FAILURE;
if (!lex_force_num ())
return CMD_FAILURE;
- if (!lex_i
nteger_p
())
+ if (!lex_i
s_integer
())
{
unsigned long min = gsl_rng_min (get_rng ());
unsigned long max = gsl_rng_max (get_rng ());
{
unsigned long min = gsl_rng_min (get_rng ());
unsigned long max = gsl_rng_max (get_rng ());