if ((matchwidth && image_width != matchwidth) || (matchheight && image_height != matchheight))
return NULL;
- if (fs_filesize < (size_t)(8 + image_width * image_height))
+ if (fs_filesize < (fs_offset_t)(8 + image_width * image_height))
{
Con_Print("LoadLMP: invalid LMP file\n");
return NULL;