davisjamesf
28th June 2007, 21:11
I'm using Qt4.3 in Visual Studio 2003. When I compile my program, I keep getting warnings typical to:
...include\QtCore\qatomic_windows.h(148) : warning C4311: 'reinterpret_cast' : pointer truncation from 'void *' to 'long'
and
...include\QtCore\qatomic_windows.h(148) : warning C4312: 'reinterpret_cast' : conversion from 'long' to void *' of greater size
The program compiles with no errors and runs fine.
Anyone know how to get rid of these warnings?
...include\QtCore\qatomic_windows.h(148) : warning C4311: 'reinterpret_cast' : pointer truncation from 'void *' to 'long'
and
...include\QtCore\qatomic_windows.h(148) : warning C4312: 'reinterpret_cast' : conversion from 'long' to void *' of greater size
The program compiles with no errors and runs fine.
Anyone know how to get rid of these warnings?