Skip to content
Permalink
Browse files

correctly cast pointer

  • Loading branch information
3nids committed Sep 19, 2018
1 parent 269bf02 commit b2df392d3c5f80421664f0b30f1c34eb678e0734
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/wcs/qgswcsprovider.cpp
@@ -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;

0 comments on commit b2df392

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