Do not store signed value in unsigned variable. Took me an hour to find :-/

This commit is contained in:
Stefan `Sec` Zehl 2012-04-18 00:43:39 +02:00
parent e6b3afbab0
commit f1b4da67c0
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ int readFile(char * filename, char * data, int len){
};
int readTextFile(char * filename, char * data, int len){
UINT readbytes;
int readbytes;
readbytes=readFile(filename,data,len-1);
if(len>=0)