Skip to content

Commit ab8177d

Browse files
committed
Fix build
1 parent 86de4d7 commit ab8177d

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
@@ -315,7 +315,7 @@ void sdl_restore_uri_credentials(sdlCtx *ctx)
315315
ctx->context = NULL;
316316
}
317317

318-
#define SAFE_STR(a) ((a)?a:"")
318+
#define SAFE_STR(a) ((a)?((const char *)a):"")
319319

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

0 commit comments

Comments
 (0)