X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fgroup.c;h=b5c9e56cdccc7435b31659f33e537c53e4b6268d;hb=f05f98b6b0b7e81f77657a4313fccc259eb5c506;hp=6101c350e483457f372a6f6ca7ae3d1aec16a385;hpb=46dfa3ec7417bbb7452f152a6b62435006259633;p=pspp-builds.git diff --git a/src/math/group.c b/src/math/group.c index 6101c350..b5c9e56c 100644 --- a/src/math/group.c +++ b/src/math/group.c @@ -35,7 +35,7 @@ compare_group (const void *a_, { const struct group_statistics *a = a_; const struct group_statistics *b = b_; - return compare_values(&a->id, &b->id, var); + return compare_values_short (&a->id, &b->id, var); } @@ -46,7 +46,7 @@ hash_group (const void *g_, const void *var) unsigned id_hash; const struct group_statistics *g = g_;; - id_hash = hash_value(&g->id, var); + id_hash = hash_value_short (&g->id, var); return id_hash; }