fix a little error which broke compilation on 64bit systems? reported on forums

This commit is contained in:
zeromus 2009-09-02 20:49:27 +00:00
parent 5aef7a1010
commit d729e8dbad
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ public:
virtual size_t _fread(const void *ptr, size_t bytes){
u32 remain = len-pos;
u32 todo = std::min<u32>(remain,bytes);
u32 todo = std::min<u32>(remain,(u32)bytes);
memcpy((void*)ptr,buf()+pos,todo);
pos += todo;
if(todo<bytes)