fixed some warnings.

This commit is contained in:
Christoph Oelckers 2023-12-10 13:31:50 +01:00
commit f873946bd0
5 changed files with 14 additions and 14 deletions

View file

@ -323,7 +323,7 @@ char *MemoryReader::Gets(char *strbuf, ptrdiff_t len)
return strbuf;
}
int BufferingReader::FillBuffer(size_t newpos)
int BufferingReader::FillBuffer(ptrdiff_t newpos)
{
if (newpos > Length) newpos = Length;
if (newpos < bufferpos) return 0;