diff options
| author | Ceri Davies <ceri@FreeBSD.org> | 2003-12-27 16:04:41 +0000 |
|---|---|---|
| committer | Ceri Davies <ceri@FreeBSD.org> | 2003-12-27 16:04:41 +0000 |
| commit | 5aad4fa2763ce642825a5a7ea6a29719efaaa759 (patch) | |
| tree | e164e2686e2822582da96ba754a34ab5b6d21d7b /games | |
| parent | b194fa9395801e62bbb9c35c2ca171ce2ab97c97 (diff) | |
Notes
Diffstat (limited to 'games')
| -rw-r--r-- | games/fortune/fortune/fortune.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c index 3234d2dfe170..92114caffb49 100644 --- a/games/fortune/fortune/fortune.c +++ b/games/fortune/fortune/fortune.c @@ -282,7 +282,7 @@ fortlen() char line[BUFSIZ]; if (!(Fortfile->tbl.str_flags & (STR_RANDOM | STR_ORDERED))) - nchar = (Seekpts[1] - Seekpts[0] <= SLEN); + nchar = (int)(Seekpts[1] - Seekpts[0]); else { open_fp(Fortfile); (void) fseek(Fortfile->inf, Seekpts[0], 0); |
