summaryrefslogtreecommitdiffstats
path: root/games/fortune/strfile/strfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/fortune/strfile/strfile.c')
-rw-r--r--games/fortune/strfile/strfile.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/games/fortune/strfile/strfile.c b/games/fortune/strfile/strfile.c
index acc7720..bd8ee44 100644
--- a/games/fortune/strfile/strfile.c
+++ b/games/fortune/strfile/strfile.c
@@ -146,13 +146,12 @@ static void usage(void);
* CHUNKSIZE blocks; if the latter, we just write each pointer,
* and then seek back to the beginning to write in the table.
*/
-int main(ac, av)
-int ac;
-char **av;
+int main(int ac, char *av[])
{
char *sp, dc;
FILE *inf, *outf;
- long last_off, length, pos, *p;
+ long last_off, pos, *p;
+ unsigned long length;
int first, cnt;
char *nsp;
STR *fp;
OpenPOWER on IntegriCloud