Skip to content
Permalink
Browse files

postgresql provider: fix 64bit ints

  • Loading branch information
jef-n committed Jun 30, 2011
1 parent 061fba4 commit 4d75a7d3e41639d22d322c5b44aabf6ee606ea33
Showing with 2 additions and 2 deletions.
  1. 0 src/core/qgssearchtreenode.cpp
  2. +2 −2 src/providers/postgres/qgspostgresprovider.cpp
0 src/core/qgssearchtreenode.cpp 100755 → 100644
No changes.
@@ -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 )
{

0 comments on commit 4d75a7d

Please sign in to comment.
You can’t perform that action at this time.