From 18dfb6b626a682b48cc3460df783349f252c1469 Mon Sep 17 00:00:00 2001 From: David Given Date: Tue, 19 Jan 2016 23:45:54 +0100 Subject: [PATCH] ints aren't necessarily two bytes long! --- Applications/V7/games/wump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/V7/games/wump.c b/Applications/V7/games/wump.c index de55f26c..d825ab11 100644 --- a/Applications/V7/games/wump.c +++ b/Applications/V7/games/wump.c @@ -238,7 +238,7 @@ int main(int argc, char *argv[]) if (p->tunn[j] == p->tunn[k]) goto init; } - qsort(&p->tunn[0], NTUNN, 2, icomp); + qsort(&p->tunn[0], NTUNN, sizeof(int), icomp); p++; } -- 2.34.1