Fixed another case of assuming long is 32-bit
This commit is contained in:
parent
55f1d3a9fe
commit
367b41bc88
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ static bool LoadBitmap(SDL_RWops *fp, Surface_Ids surf_no, bool create_surface)
|
|||
}
|
||||
|
||||
for (int i = 1; i < magnification; ++i)
|
||||
memcpy(dst_row + i * surf[surf_no].surface->pitch, dst_row, surf[surf_no].surface->w * sizeof(unsigned long));
|
||||
memcpy(dst_row + i * surf[surf_no].surface->pitch, dst_row, surf[surf_no].surface->w * 4);
|
||||
}
|
||||
|
||||
SDL_FreeSurface(converted_surface);
|
||||
|
|
Loading…
Add table
Reference in a new issue