Resolved int comparison compiler warning.

This commit is contained in:
harry 2023-01-28 09:09:58 -05:00
parent a45aa73a4a
commit 5b9385b2c8
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public:
bool fail(bool unset=false) { bool ret = failbit; if(unset) unfail(); return ret; }
void unfail() { failbit=false; }
bool eof() { return size()==ftell(); }
bool eof() { return size() == static_cast<size_t>(ftell()); }
size_t fread(const void *ptr, size_t bytes){
return _fread(ptr,bytes);