tags 442984 patch
thanks

attched is a patch that fixes this issue.

stew
diff -ruN kvdr-0.64.orig/debian/patches/10_bad_pointer_cast.patch kvdr-0.64/debian/patches/10_bad_pointer_cast.patch
--- kvdr-0.64.orig/debian/patches/10_bad_pointer_cast.patch	1969-12-31 19:00:00.000000000 -0500
+++ kvdr-0.64/debian/patches/10_bad_pointer_cast.patch	2007-10-30 22:43:38.000000000 -0400
@@ -0,0 +1,12 @@
+diff -Nru tmp/kvdr/kvdr.cpp kvdr/kvdr/kvdr.cpp
+--- tmp/kvdr/kvdr.cpp	2007-10-30 22:14:41.000000000 -0400
++++ kvdr/kvdr/kvdr.cpp	2007-10-30 22:15:35.000000000 -0400
+@@ -101,7 +101,7 @@
+   /* guess physical screen format */
+   int width, bank, ram;
+   base = NULL;
+-  if(!XF86DGAGetVideoLL(disp,screen,(int*)&base,&width,&bank,&ram))
++  if(!XF86DGAGetVideoLL(disp,screen,(unsigned int*)&base,&width,&bank,&ram))
+   {
+     base=NULL;
+   }

Attachment: signature.asc
Description: Digital signature

Reply via email to