qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] [PATCH] qtest: fix hex2nib for capital characters
       [not found] <1401178560-3852-1-git-send-email-serge.fdrv@gmail.com>
@ 2014-06-08 14:58 ` Michael S. Tsirkin
  0 siblings, 0 replies; only message in thread
From: Michael S. Tsirkin @ 2014-06-08 14:58 UTC (permalink / raw)
  To: serge.fdrv
  Cc: Stefan Hajnoczi, qemu-trivial, qemu-devel, Alex Bligh,
	Andreas Färber, Aurelien Jarno

On Tue, May 27, 2014 at 12:16:00PM +0400, serge.fdrv@gmail.com wrote:
> From: Sergey Fedorov <serge.fdrv@gmail.com>
> 
> Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>


Applied, thanks!

> ---
>  qtest.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/qtest.c b/qtest.c
> index 2aba20d..87ccd62 100644
> --- a/qtest.c
> +++ b/qtest.c
> @@ -148,7 +148,7 @@ static int hex2nib(char ch)
>      } else if (ch >= 'a' && ch <= 'f') {
>          return 10 + (ch - 'a');
>      } else if (ch >= 'A' && ch <= 'F') {
> -        return 10 + (ch - 'a');
> +        return 10 + (ch - 'A');
>      } else {
>          return -1;
>      }
> -- 
> 1.9.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-08 14:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1401178560-3852-1-git-send-email-serge.fdrv@gmail.com>
2014-06-08 14:58 ` [Qemu-devel] [PATCH] qtest: fix hex2nib for capital characters Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).