Skip to content

Commit 06c9633

Browse files
nikiccmb69
authored andcommitted
Fix newly introduced compiler warning
(cherry picked from commit ab8177d)
1 parent 039ca4e commit 06c9633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/soap/php_sdl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ void sdl_restore_uri_credentials(sdlCtx *ctx)
313313
ctx->context = NULL;
314314
}
315315

316-
#define SAFE_STR(a) ((a)?a:"")
316+
#define SAFE_STR(a) ((a)?((const char *)a):"")
317317

318318
static void load_wsdl_ex(zval *this_ptr, char *struri, sdlCtx *ctx, int include)
319319
{

0 commit comments

Comments
 (0)