diff options
Diffstat (limited to 'tqtinterface/qt4/tools/qvfb/qvfbview.cpp')
-rw-r--r-- | tqtinterface/qt4/tools/qvfb/qvfbview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tqtinterface/qt4/tools/qvfb/qvfbview.cpp b/tqtinterface/qt4/tools/qvfb/qvfbview.cpp index f7d0669..bc02db7 100644 --- a/tqtinterface/qt4/tools/qvfb/qvfbview.cpp +++ b/tqtinterface/qt4/tools/qvfb/qvfbview.cpp @@ -128,7 +128,7 @@ TQVFbView::TQVFbView( int display_id, int w, int h, int d, TQWidget *tqparent, data = (unsigned char *)shmat( shmId, 0, 0 ); } - if ( (int)data == -1 ) + if ( (long)data == -1 ) qFatal( "Cannot attach to shared memory" ); hdr = (TQVFbHeader *)data; |