summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2014-05-02 14:51:56 +0200
committerSebastian Rasmussen <sebras@gmail.com>2014-05-02 14:53:34 +0200
commit664e91bb592444aff59d69216d9adb53cebbc98c (patch)
treedcb4e0b33bb0a19d78d54199ffb436483d506657
parent3077ed97c54728bf39afe128532577a867870fc1 (diff)
downloadmupdf-664e91bb592444aff59d69216d9adb53cebbc98c.tar.xz
Fix warning in debug message for CURL in X11 viewer
-rw-r--r--platform/x11/curl_stream.c2
1 files changed, 1 insertions, 1 deletions
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;