On Sat, May 14, 2011 at 04:31:10PM -0700, Jeremy Huddleston wrote:
> 
> inpututils.c:577:25: warning: conversion specifies type 'unsigned short' but 
> the argument has type 'unsigned char' [-Wformat,Format String Issue]
>             ErrorF("%02hx ", *data);
>                     ~~~~^    ~~~~~
>                     %02hhx
> 1 warning generated.
> 
> Signed-off-by: Jeremy Huddleston <[email protected]>
> ---
>  dix/inpututils.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/dix/inpututils.c b/dix/inpututils.c
> index aeace6e..49e1758 100644
> --- a/dix/inpututils.c
> +++ b/dix/inpututils.c
> @@ -574,7 +574,7 @@ void verify_internal_event(const InternalEvent *ev)
>  
>          for (i = 0; i < sizeof(xEvent); i++, data++)
>          {
> -            ErrorF("%02hx ", *data);
> +            ErrorF("%02hhx ", *data);
>  
>              if ((i % 8) == 7)
>                  ErrorF("\n");
> -- 
> 1.7.4.1

merged, thanks.
 
Cheers,
  Peter
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to