The variables opcode and size were unsigned, which lead to warnings
about comparisons of signed vs. unsigned.
Change these variable to signed. Their usage never relies on being
unsigned.
This also fixes (an assumed) printf format string problem, where these
were printed with %d, not %u.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
struct wl_object *object;
struct wl_closure *closure;
const struct wl_message *message;
- uint32_t p[2], opcode, size;
+ uint32_t p[2];
+ int opcode, size;
uint32_t cmask = 0;
int len;