From 06c9633b43a032236b449739a72f4d55cd648fb4 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 1 Feb 2021 09:46:17 +0100 Subject: Fix newly introduced compiler warning (cherry picked from commit ab8177de2c89672e63a7a1ccef4df8f7bf34fbd2) --- ext/soap/php_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/soap/php_sdl.c b/ext/soap/php_sdl.c index 67ab4097c2..ee7d604520 100644 --- a/ext/soap/php_sdl.c +++ b/ext/soap/php_sdl.c @@ -313,7 +313,7 @@ void sdl_restore_uri_credentials(sdlCtx *ctx) ctx->context = NULL; } -#define SAFE_STR(a) ((a)?a:"") +#define SAFE_STR(a) ((a)?((const char *)a):"") static void load_wsdl_ex(zval *this_ptr, char *struri, sdlCtx *ctx, int include) { -- cgit v1.2.1