(svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc)

This commit is contained in:
truelight
2006-08-20 12:09:32 +00:00
parent b83703b215
commit 5fb6c9e1cc
11 changed files with 14 additions and 14 deletions

2
bmp.c
View File

@@ -15,7 +15,7 @@ void BmpInitializeBuffer(BmpBuffer *buffer, FILE *file) {
static inline void AdvanceBuffer(BmpBuffer *buffer)
{
buffer->read = fread(buffer->data, 1, BMP_BUFFER_SIZE, buffer->file);
buffer->read = (int)fread(buffer->data, 1, BMP_BUFFER_SIZE, buffer->file);
buffer->pos = 0;
}