SDL_FillRect problems

I just tried the latest CVS version without the patch and it still dies in
the same place (SDL_memset4), havent had any problems with the Uint32 cast
in there though.

Also, try the current CVS without the patch, and see if that fixes the
problem too.
[snip]

This might be the error — my gcc didn’t zero-extend the len parameter
for the SDL_memset4 inline asm (generated a movw instead of a movzwl).
Try the following patch and see if it helps

Index: SDL_memops.h
[snip]On Wed, 21 Feb 2001, Sam Lantinga wrote:

  • : "0" (dst), "1" (val), "2" (len)		\
    
  • : "0" (dst), "1" (val), "2" ((Uint32)len)	\
    


Adam
@af7567_at_bris.ac.uk
adamf at one2one.net
adamf at snika.uklinux.net

I just tried the latest CVS version without the patch and it still dies in
the same place (SDL_memset4), havent had any problems with the Uint32 cast
in there though.

Great, it’s in CVS. Thanks!

-Sam Lantinga, Lead Programmer, Loki Entertainment Software