Skip to content

Commit

Permalink
postgresql provider: fix 64bit ints
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 30, 2011
1 parent 061fba4 commit 4d75a7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Empty file modified src/core/qgssearchtreenode.cpp 100755 → 100644
Empty file.
4 changes: 2 additions & 2 deletions src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -491,8 +491,8 @@ qint64 QgsPostgresProvider::getBinaryInt( PGresult *queryResult, int row, int co

case 8:
{
qint32 oid0 = htonl( *( qint32 * ) p );
qint32 oid1 = htonl( *( qint32 * )( p + sizeof( qint32 ) ) );
qint32 oid0 = *( qint32 * ) p;
qint32 oid1 = *( qint32 * )( p + sizeof( qint32 ) );

if ( swapEndian )
{
Expand Down

0 comments on commit 4d75a7d

Please sign in to comment.