X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fgroup.c;h=b5c9e56cdccc7435b31659f33e537c53e4b6268d;hb=16af7ed2b7da4aa1c38a15c5663298d6e251e458;hp=6101c350e483457f372a6f6ca7ae3d1aec16a385;hpb=45a1201de864c76f5a8c78166dc4ff2ea4151e5d;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; }