From 5fb3705535149f5499d3f643281b0c0ead95f834 Mon Sep 17 00:00:00 2001 From: ehouse Date: Wed, 28 Jun 2006 14:11:46 +0000 Subject: [PATCH] don't cast size to a char! --- xwords4/dawg/dict2dawg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xwords4/dawg/dict2dawg.cpp b/xwords4/dawg/dict2dawg.cpp index 5dd3286b7..b43f43bda 100644 --- a/xwords4/dawg/dict2dawg.cpp +++ b/xwords4/dawg/dict2dawg.cpp @@ -506,7 +506,7 @@ static void readFromFile( void ) { char wordBuf[MAX_WORD_LEN+1]; - static bool s_eof = false;; + static bool s_eof = false; char* word; int len; @@ -1069,7 +1069,7 @@ parseARGV( int argc, char** argv, const char** inFileName ) } else if ( 0 == strcmp( arg, "-force4" ) ) { gForceFour = true; } else if ( 0 == strcmp( arg, "-fsize" ) ) { - gFileSize = (char)atoi(argv[index++]); + gFileSize = atoi(argv[index++]); #ifdef DEBUG } else if ( 0 == strcmp( arg, "-debug" ) ) { gDebug = true;