summaryrefslogtreecommitdiff
path: root/qt3/qt3-3.3.8-gcc4.patch
blob: e508ee1faeb621ca7df267f88ba53baf660dd79a (plain)
    1 diff -Nru qt-x11-free-3.3.4-orig/tools/qvfb/qvfbview.cpp qt-x11-free-3.3.4/tools/qvfb/qvfbview.cpp
    2 --- qt-x11-free-3.3.4-orig/tools/qvfb/qvfbview.cpp	2005-10-31 21:49:58.000000000 +0000
    3 +++ qt-x11-free-3.3.4/tools/qvfb/qvfbview.cpp	2005-10-31 21:51:52.000000000 +0000
    4 @@ -115,7 +115,7 @@
    5  	data = (unsigned char *)shmat( shmId, 0, 0 );
    6      }
    7  
    8 -    if ( (int)data == -1 )
    9 +    if ( (long)data == -1 )
   10  	qFatal( "Cannot attach to shared memory" );
   11  
   12      hdr = (QVFbHeader *)data;

Generated by cgit