[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/7] libnetfs: fix type of variable
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 6/7] libnetfs: fix type of variable |
Date: |
Thu, 20 Jan 2022 00:32:04 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Applied, thanks!
Etienne Brateau, le mer. 19 janv. 2022 20:29:44 +0100, a ecrit:
> ---
> libnetfs/file-get-translator.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libnetfs/file-get-translator.c b/libnetfs/file-get-translator.c
> index 635653de..2dff6a13 100644
> --- a/libnetfs/file-get-translator.c
> +++ b/libnetfs/file-get-translator.c
> @@ -66,7 +66,7 @@ netfs_S_file_get_translator (struct protid *user,
> else if (S_ISCHR (np->nn_stat.st_mode) || S_ISBLK (np->nn_stat.st_mode))
> {
> char *buf;
> - unsigned int buflen;
> + int buflen;
>
> buflen = asprintf (&buf, "%s%c%d%c%d",
> (S_ISCHR (np->nn_stat.st_mode)
> --
> 2.34.1
- [PATCH 1/7] libpager: fix a comparision between signed and unsigned, Etienne Brateau, 2022/01/19
- [PATCH 2/7] libpager: fix assertion unsigned against 0, Etienne Brateau, 2022/01/19
- [PATCH 3/7] libstore: fix type of a counter, Etienne Brateau, 2022/01/19
- [PATCH 4/7] libdiskfs: improve asserts and remove a sign compare warning, Etienne Brateau, 2022/01/19
- [PATCH 7/7] proc: Fix variable type, Etienne Brateau, 2022/01/19
- [PATCH 6/7] libnetfs: fix type of variable, Etienne Brateau, 2022/01/19
- Re: [PATCH 6/7] libnetfs: fix type of variable,
Samuel Thibault <=
- [PATCH 5/7] libps: fix some signed vs unsigned comparision, Etienne Brateau, 2022/01/19
- Re: [PATCH 1/7] libpager: fix a comparision between signed and unsigned, Samuel Thibault, 2022/01/19