summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-02-01 09:46:17 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-02-01 09:46:17 +0100
commitab8177de2c89672e63a7a1ccef4df8f7bf34fbd2 (patch)
treeaaea4e56a85016335350f9133d29a545ba8af860
parent86de4d7af6d8bf6aa2955b158a12272f76ceb97e (diff)
downloadphp-git-ab8177de2c89672e63a7a1ccef4df8f7bf34fbd2.tar.gz
Fix build
-rw-r--r--ext/soap/php_sdl.c2
1 files changed, 1 insertions, 1 deletions
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)
{