Skip to content

Commit

Permalink
Cast long from count features instead of int
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jun 12, 2019
1 parent c90583c commit c94310d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -3232,7 +3232,7 @@ bool QgsPostgresProvider::setSubsetString( const QString &theSQL, bool updateFea
*/
long QgsPostgresProvider::featureCount() const
{
int featuresCounted = mShared->featuresCounted();
long featuresCounted = mShared->featuresCounted();
if ( featuresCounted >= 0 )
return featuresCounted;

Expand Down

0 comments on commit c94310d

Please sign in to comment.