Skip to content

Commit b2df392

Browse files
committed
correctly cast pointer
1 parent 269bf02 commit b2df392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/wcs/qgswcsprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ QgsWcsProvider::QgsWcsProvider( const QString &uri, const ProviderOptions &optio
7272
QgsDebugMsg( "constructing with uri '" + mHttpUri + "'." );
7373

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

7777
if ( !parseUri( uri ) ) return;
7878

0 commit comments

Comments
 (0)