summaryrefslogtreecommitdiffstats
path: root/games/fortune/strfile/strfile.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-05-27 22:43:43 +0000
committerache <ache@FreeBSD.org>1996-05-27 22:43:43 +0000
commite1b45fe28090cb6417cd23e17139cfbf8a5a10f9 (patch)
tree2193cd48f5c12ef60c99951b8232b36323622e30 /games/fortune/strfile/strfile.h
parent59d2d1c67bbc3323110cb3141ddf3de74efcbfb1 (diff)
downloadFreeBSD-src-e1b45fe28090cb6417cd23e17139cfbf8a5a10f9.zip
FreeBSD-src-e1b45fe28090cb6417cd23e17139cfbf8a5a10f9.tar.gz
Localize it.
off_t -> long. Install strfile & unstr -Wall cleanup Fix matching bug with offensive database
Diffstat (limited to 'games/fortune/strfile/strfile.h')
-rw-r--r--games/fortune/strfile/strfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/fortune/strfile/strfile.h b/games/fortune/strfile/strfile.h
index 9abc5f7..7d35acb 100644
--- a/games/fortune/strfile/strfile.h
+++ b/games/fortune/strfile/strfile.h
@@ -37,7 +37,7 @@
*/
#define STR_ENDSTRING(line,tbl) \
- ((line)[0] == (tbl).str_delim && (line)[1] == '\n')
+ (((unsigned char)(line)[0]) == (tbl).str_delim && (line)[1] == '\n')
typedef struct { /* information table */
#define VERSION 1
OpenPOWER on IntegriCloud