diff options
Diffstat (limited to 'x11-toolkits/qt33/files/patch-tools_qvfb-qvfbview.cpp')
-rw-r--r-- | x11-toolkits/qt33/files/patch-tools_qvfb-qvfbview.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/qt33/files/patch-tools_qvfb-qvfbview.cpp b/x11-toolkits/qt33/files/patch-tools_qvfb-qvfbview.cpp new file mode 100644 index 000000000000..954d37595efb --- /dev/null +++ b/x11-toolkits/qt33/files/patch-tools_qvfb-qvfbview.cpp @@ -0,0 +1,11 @@ +--- tools/qvfb/qvfbview.cpp.orig Wed Mar 21 08:48:22 2007 ++++ tools/qvfb/qvfbview.cpp Wed Mar 21 08:48:33 2007 +@@ -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; |