mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
don't cast size to a char!
This commit is contained in:
parent
de20e83bdb
commit
5fb3705535
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue