summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-02-01 09:46:17 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2021-02-03 12:42:28 +0100
commit06c9633b43a032236b449739a72f4d55cd648fb4 (patch)
tree795aca3739a7c453628f3d6840e510594c7bd8f0
parent039ca4e219904ad774fc42fcd3f57f5350734df7 (diff)
downloadphp-git-06c9633b43a032236b449739a72f4d55cd648fb4.tar.gz
Fix newly introduced compiler warning
(cherry picked from commit ab8177de2c89672e63a7a1ccef4df8f7bf34fbd2)
-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 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)
{