You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
381 B
14 lines
381 B
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;
|