From: Nikita Popov Date: Mon, 1 Feb 2021 08:46:17 +0000 (+0100) Subject: Fix build X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab8177de2c89672e63a7a1ccef4df8f7bf34fbd2;p=php Fix build --- diff --git a/ext/soap/php_sdl.c b/ext/soap/php_sdl.c index d4dd8f090a..8d5e7335e1 100644 --- a/ext/soap/php_sdl.c +++ b/ext/soap/php_sdl.c @@ -315,7 +315,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) {