From: David Given Date: Tue, 19 Jan 2016 22:45:54 +0000 (+0100) Subject: ints aren't necessarily two bytes long! X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=18dfb6b626a682b48cc3460df783349f252c1469;p=FUZIX.git ints aren't necessarily two bytes long! --- 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++; }