diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-06-11 06:51:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-06-11 06:51:12 +0000 |
commit | 932d6aa05bcc7eeb0da57af1cf63a95ffd21cd79 (patch) | |
tree | 432d431990991433ac22d5e0235a559734d8df8f /games/snake/snscore/snscore.c | |
parent | 8959c415e80d91fd48938803bc8373ee1cded042 (diff) |
uid is not a short
Diffstat (limited to 'games/snake/snscore/snscore.c')
-rw-r--r-- | games/snake/snscore/snscore.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/games/snake/snscore/snscore.c b/games/snake/snscore/snscore.c index 83e08612573..ea94d6596de 100644 --- a/games/snake/snscore/snscore.c +++ b/games/snake/snscore/snscore.c @@ -52,13 +52,14 @@ static char rcsid[] = "$NetBSD: snscore.c,v 1.5 1995/04/24 12:25:43 cgd Exp $"; #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> #include "pathnames.h" char *recfile = _PATH_RAWSCORES; #define MAXPLAYERS 256 struct player { - short uids; + uit_d uids; short scores; char *name; } players[MAXPLAYERS], temp; @@ -66,7 +67,8 @@ struct player { int main() { - short uid, score; + uid_t uid; + short score; FILE *fd; int noplayers; int i, j, notsorted; |