projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix description of "count" in Auxiliary Variable Parameter Record.
[pspp]
/
src
/
oneway.q
diff --git
a/src/oneway.q
b/src/oneway.q
index 26f2f0ce697596763628ecfb972b9f74fdf9a870..f413cda15410af5bc0bcd269cfb64c03fbd676c4 100644
(file)
--- a/
src/oneway.q
+++ b/
src/oneway.q
@@
-157,7
+157,7
@@
output_oneway(void)
size_t i;
short *bad_contrast ;
size_t i;
short *bad_contrast ;
- bad_contrast = x
malloc ( sizeof (short) * cmd.sbc_contrast
);
+ bad_contrast = x
nmalloc (cmd.sbc_contrast, sizeof *bad_contrast
);
/* Check the sanity of the given contrast values */
for (i = 0 ; i < cmd.sbc_contrast ; ++i )
/* Check the sanity of the given contrast values */
for (i = 0 ; i < cmd.sbc_contrast ; ++i )
@@
-949,9
+949,7
@@
run_oneway(const struct casefile *cf, void *cmd_)
if ( ! gs )
{
if ( ! gs )
{
- gs = (struct group_statistics *)
- xmalloc (sizeof(struct group_statistics));
-
+ gs = xmalloc (sizeof *gs);
gs->id = *indep_val;
gs->sum=0;
gs->n=0;
gs->id = *indep_val;
gs->sum=0;
gs->n=0;