Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
correctly cast pointer
  • Loading branch information
3nids committed Sep 19, 2018
1 parent 269bf02 commit b2df392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/wcs/qgswcsprovider.cpp
Expand Up @@ -72,7 +72,7 @@ QgsWcsProvider::QgsWcsProvider( const QString &uri, const ProviderOptions &optio
QgsDebugMsg( "constructing with uri '" + mHttpUri + "'." );

mValid = false;
mCachedMemFilename = QStringLiteral( "/vsimem/qgis/wcs/%0.dat" ).arg( ( qlonglong )this );
mCachedMemFilename = QStringLiteral( "/vsimem/qgis/wcs/%0.dat" ).arg( reinterpret_cast<std::uintptr_t>( this ) );

if ( !parseUri( uri ) ) return;

Expand Down

0 comments on commit b2df392

Please sign in to comment.