mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +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 )
|
readFromFile( void )
|
||||||
{
|
{
|
||||||
char wordBuf[MAX_WORD_LEN+1];
|
char wordBuf[MAX_WORD_LEN+1];
|
||||||
static bool s_eof = false;;
|
static bool s_eof = false;
|
||||||
char* word;
|
char* word;
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
|
@ -1069,7 +1069,7 @@ parseARGV( int argc, char** argv, const char** inFileName )
|
||||||
} else if ( 0 == strcmp( arg, "-force4" ) ) {
|
} else if ( 0 == strcmp( arg, "-force4" ) ) {
|
||||||
gForceFour = true;
|
gForceFour = true;
|
||||||
} else if ( 0 == strcmp( arg, "-fsize" ) ) {
|
} else if ( 0 == strcmp( arg, "-fsize" ) ) {
|
||||||
gFileSize = (char)atoi(argv[index++]);
|
gFileSize = atoi(argv[index++]);
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
} else if ( 0 == strcmp( arg, "-debug" ) ) {
|
} else if ( 0 == strcmp( arg, "-debug" ) ) {
|
||||||
gDebug = true;
|
gDebug = true;
|
||||||
|
|
Loading…
Reference in a new issue