Skip to content

Commit c72957b

Browse files
committed
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4: Fix build
2 parents 12d08db + ab8177d commit c72957b

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)