From 664e91bb592444aff59d69216d9adb53cebbc98c Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Fri, 2 May 2014 14:51:56 +0200 Subject: Fix warning in debug message for CURL in X11 viewer --- platform/x11/curl_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/x11/curl_stream.c b/platform/x11/curl_stream.c index e94904e9..9b806b79 100644 --- a/platform/x11/curl_stream.c +++ b/platform/x11/curl_stream.c @@ -225,7 +225,7 @@ static size_t data_arrived(void *ptr, size_t size, size_t nmemb, void *state_) } } - DEBUG_MESSAGE((state->ctx, "data arrived: offset=%d len=%d", state->current_fill_point, size)); + DEBUG_MESSAGE((state->ctx, "data arrived: offset=%d len=%d", state->current_fill_point, (int) size)); old_start = state->current_fill_point; memcpy(state->buffer + state->current_fill_point, ptr, size); state->current_fill_point += size; -- cgit v1.2.3