fix a little error which broke compilation on 64bit systems? reported on forums
This commit is contained in:
parent
5aef7a1010
commit
d729e8dbad
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue