Commit 1b31149f authored by Kristian Høgsberg's avatar Kristian Høgsberg
Browse files

connection: Fix printf format warnings

parent 34901868
......@@ -525,7 +525,7 @@ wl_connection_vmarshal(struct wl_connection *connection,
return closure;
err:
printf("request too big to marshal, maximum size is %d\n",
printf("request too big to marshal, maximum size is %lu\n",
sizeof closure->buffer);
errno = ENOMEM;
return NULL;
......@@ -555,7 +555,7 @@ wl_connection_demarshal(struct wl_connection *connection,
extra_space = wl_message_size_extra(message);
if (sizeof closure->buffer < size + extra_space) {
printf("request too big to demarshal, maximum %d actual %d\n",
printf("request too big to demarshal, maximum %lu actual %d\n",
sizeof closure->buffer, size + extra_space);
errno = ENOMEM;
wl_connection_consume(connection, size);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment