Fix newly introduced compiler warning

(cherry picked from commit ab8177de2c)
This commit is contained in:
Nikita Popov 2021-02-01 09:46:17 +01:00 committed by Christoph M. Becker
parent 039ca4e219
commit 06c9633b43

View File

@ -313,7 +313,7 @@ void sdl_restore_uri_credentials(sdlCtx *ctx)
ctx->context = NULL; 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) static void load_wsdl_ex(zval *this_ptr, char *struri, sdlCtx *ctx, int include)
{ {