File libSGE-030809-overflow.patch of Package libSGE

--- sge_collision.cpp
+++ sge_collision.cpp
@@ -336,7 +336,7 @@
 void sge_unset_cdata(sge_cdata *cd, Sint16 x, Sint16 y, Sint16 w, Sint16 h)
 {
 	Uint8 *map=cd->map;
-	Sint16 offs,len;
+	Sint32 offs,len;
 	int i,n=0;
 	
 	offs=y*cd->w + x;
@@ -365,7 +365,7 @@
 void sge_set_cdata(sge_cdata *cd, Sint16 x, Sint16 y, Sint16 w, Sint16 h)
 {
 	Uint8 *map=cd->map;
-	Sint16 offs,len;
+	Sint32 offs,len;
 	int i,n=0;
 	
 	offs=y*cd->w + x;
openSUSE Build Service is sponsored by