File qt3-fix-cast.diff of Package qt3-extensions

Index: tools/qvfb/qvfbview.cpp
================================================================================
--- tools/qvfb/qvfbview.cpp
+++ tools/qvfb/qvfbview.cpp
@@ -115,7 +115,7 @@
 	data = (unsigned char *)shmat( shmId, 0, 0 );
     }
 
-    if ( (int)data == -1 )
+    if ( (long)data == -1 )
 	qFatal( "Cannot attach to shared memory" );
 
     hdr = (QVFbHeader *)data;
openSUSE Build Service is sponsored by