From 0c62edab470eec57479f08e3159675c67a01933a Mon Sep 17 00:00:00 2001 From: Stefan Profanter Date: Mon, 17 Dec 2018 22:07:05 +0100 Subject: [PATCH] Avoid MinGW warning `unknown conversion type character 'z' in format` --- examples/discovery/server_multicast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/discovery/server_multicast.c b/examples/discovery/server_multicast.c index f50373f02..9547502b0 100644 --- a/examples/discovery/server_multicast.c +++ b/examples/discovery/server_multicast.c @@ -111,7 +111,7 @@ UA_EndpointDescription *getRegisterEndpointFromServer(const char *discoveryServe return NULL; } - UA_LOG_DEBUG(UA_Log_Stdout, UA_LOGCATEGORY_SERVER, "Server has %zu endpoints", endpointArraySize); + UA_LOG_DEBUG(UA_Log_Stdout, UA_LOGCATEGORY_SERVER, "Server has %lu endpoints", (unsigned long)endpointArraySize); UA_EndpointDescription *foundEndpoint = NULL; for (size_t i = 0; i < endpointArraySize; i++) { UA_LOG_DEBUG(UA_Log_Stdout, UA_LOGCATEGORY_SERVER, "\tURL = %.*s, SecurityMode = %s",