PATCH] Fix new_id(n) arg parse from va list
Jasper St. Pierre
jstpierre at mecheye.net
Tue Sep 30 08:45:21 PDT 2014
What is this trying to solve?
On Mon, Aug 18, 2014 at 11:12 AM, Maks Naumov <maksqwe1 at ukr.net> wrote:
> Signed-off-by: Maks Naumov <maksqwe1 at ukr.net>
> ---
> src/connection.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/connection.c b/src/connection.c
> index f292853..13e3a3e 100644
> --- a/src/connection.c
> +++ b/src/connection.c
> @@ -492,7 +492,7 @@ wl_argument_from_va_list(const char *signature, union
> wl_argument *args,
> args[i].o = va_arg(ap, struct wl_object *);
> break;
> case 'n':
> - args[i].o = va_arg(ap, struct wl_object *);
> + args[i].n = va_arg(ap, uint32_t);
> break;
> case 'a':
> args[i].a = va_arg(ap, struct wl_array *);
> --
> 1.9.1
>
>
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
--
Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140930/9c6ad13c/attachment.html>
More information about the wayland-devel
mailing list