On Tue, 22 Apr 2014 16:03:12 +0300
Giulio Camuffo <giuliocamu...@gmail.com> wrote:

> ---
>  src/connection.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/connection.c b/src/connection.c
> index 63b0592..47ee556 100644
> --- a/src/connection.c
> +++ b/src/connection.c
> @@ -724,7 +724,7 @@ wl_connection_demarshal(struct wl_connection *connection,
>                       }
>  
>                       if (wl_map_reserve_new(objects, id) < 0) {
> -                             wl_log("not a valid new object id (%d), "
> +                             wl_log("not a valid new object id (%u), "
>                                      "message %s(%s)\n",
>                                      id, message->name, message->signature);
>                               errno = EINVAL;

Yeah, seems trivially correct. One would see the difference, if there
was a problem with a server-created object.

It looks like wl_connection_demarshal() would have several other places
too, that print like "object(%d)", which I think would need to be %u.


Thanks,
pq
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to