$OpenBSD: patch-RS_gfx_c,v 1.1 2010/05/23 15:32:16 espie Exp $
--- RS_gfx.c.orig	Sun May 23 17:28:21 2010
+++ RS_gfx.c	Sun May 23 17:29:14 2010
@@ -19,11 +19,11 @@ Uint32 get_pixel(SDL_Surface *surface, Sint32 Xcoord, 
         switch(bytespp)  
           {  
           case 1:  
-            (Uint8) pixel = *((Uint8 *) bits);  
+            pixel = *((Uint8 *) bits);  
             break;  
  
           case 2:  
-            (Uint16) pixel = *((Uint16 *) bits);  
+            pixel = *((Uint16 *) bits);  
             break;  
  
           case 3: /* odd case, create offsets from screen data */  
@@ -37,7 +37,7 @@ Uint32 get_pixel(SDL_Surface *surface, Sint32 Xcoord, 
             break;  
  
           case 4:  
-            (Uint32) pixel = *((Uint32 *) bits);  
+            pixel = *((Uint32 *) bits);  
             break;  
           }  
 	return pixel;  
