Skip to content

Commit

Permalink
Fix 32bit build
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Apr 3, 2021
1 parent 12905cc commit ca7c033
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/geometry/qgswkbptr.h
Expand Up @@ -78,8 +78,10 @@ class CORE_EXPORT QgsWkbPtr
inline const QgsWkbPtr &operator>>( double &v ) const { read( v ); return *this; } SIP_SKIP
inline const QgsWkbPtr &operator>>( float &r ) const { double v; read( v ); r = v; return *this; } SIP_SKIP
inline const QgsWkbPtr &operator>>( int &v ) const { read( v ); return *this; } SIP_SKIP
#ifndef Q_PROCESSOR_X86_32
//! Reads an integer value into a qsizetype
inline const QgsWkbPtr &operator>>( qsizetype &r ) const { int v; read( v ); r = v; return *this; } SIP_SKIP
#endif
inline const QgsWkbPtr &operator>>( unsigned int &v ) const { read( v ); return *this; } SIP_SKIP
inline const QgsWkbPtr &operator>>( char &v ) const { read( v ); return *this; } SIP_SKIP
inline const QgsWkbPtr &operator>>( QgsWkbTypes::Type &v ) const { read( v ); return *this; } SIP_SKIP
Expand All @@ -90,8 +92,10 @@ class CORE_EXPORT QgsWkbPtr
inline QgsWkbPtr &operator<<( float r ) { double v = r; write( v ); return *this; } SIP_SKIP
//! Writes an int to the pointer
inline QgsWkbPtr &operator<<( int v ) { write( v ); return *this; } SIP_SKIP
#ifndef Q_PROCESSOR_X86_32
//! Writes a size as int to the pointer
inline QgsWkbPtr &operator<<( qsizetype r ) { int v = r; write( v ); return *this; } SIP_SKIP
#endif
//! Writes an unsigned int to the pointer
inline QgsWkbPtr &operator<<( unsigned int v ) { write( v ); return *this; } SIP_SKIP
//! Writes a char to the pointer
Expand Down

0 comments on commit ca7c033

Please sign in to comment.