]> granicus.if.org Git - php/commitdiff
Fix build
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 1 Feb 2021 08:46:17 +0000 (09:46 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 1 Feb 2021 08:46:17 +0000 (09:46 +0100)
ext/soap/php_sdl.c

index d4dd8f090a01e4b69f6cb51f446f5f8e3b76119c..8d5e7335e1be69634d5fc4bfdd6189bfd16c6e40 100644 (file)
@@ -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)
 {