[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] libstore: fixed some pointer-sign related warnings
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] libstore: fixed some pointer-sign related warnings |
Date: |
Wed, 19 Feb 2014 11:09:56 -0800 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Ignazio Sgalmuzzo, le Wed 19 Feb 2014 20:07:40 +0000, a écrit :
> libstore/do-bunzip2.c: fixed type modifier, avoiding cast
Better, applied :)
> ---
> libstore/do-bunzip2.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libstore/do-bunzip2.c b/libstore/do-bunzip2.c
> index d599503..d2bc9da 100644
> --- a/libstore/do-bunzip2.c
> +++ b/libstore/do-bunzip2.c
> @@ -31,8 +31,8 @@ extern void (*unzip_error) (const char *msg);
> #define INBUFSIZ 0x1000
> #define OUTBUFSIZ 0x1000
>
> -static unsigned char inbuf[INBUFSIZ];
> -static unsigned char outbuf[OUTBUFSIZ];
> +static char inbuf[INBUFSIZ];
> +static char outbuf[OUTBUFSIZ];
>
> #ifdef SMALL_BZIP2
> #define SMALL_MODE 1
> --
> 1.9.0.rc3
>
>
--
Samuel
Je suis maintenant possesseur d'un ordinateur portable Compaq Armada
1592DT avec port infra-rouge. Auriez-vous connaissance de programmes
suceptibles d'utiliser ce port afin de servir de télécommande ?
-+- JN in NPC : ben quoi, c'est pas à ça que ça sert ?