From 721c8a48914267905dc45f2edc181978e95b0c81 Mon Sep 17 00:00:00 2001 From: Natalie Date: Fri, 22 Apr 2022 17:48:18 -0600 Subject: [PATCH] cast pszUrl to void before calling CPLFree --- src/ninja/landfireclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ninja/landfireclient.cpp b/src/ninja/landfireclient.cpp index 6f244a84..0c8501c3 100644 --- a/src/ninja/landfireclient.cpp +++ b/src/ninja/landfireclient.cpp @@ -332,7 +332,7 @@ SURF_FETCH_E LandfireClient::FetchBoundingBox( double *bbox, double resolution, "status: %d", i, nMaxTries, dl_status ); } while( dl_status < 400 && dl_status > 0 && i < nMaxTries ); - CPLFree(pszUrl); + CPLFree( (void*) pszUrl ); delete [] pszResponse; if( dl_status >= 900 && dl_status <= 902)