From fdd4f062ad4e4bbf298b72846bfed263ec1b482b Mon Sep 17 00:00:00 2001 From: Etienne Brateau Date: Wed, 19 Jan 2022 20:29:44 +0100 Subject: libnetfs: fix type of variable Message-Id: <20220119192945.36654-6-etienne.brateau@gmail.com> --- 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) -- cgit v1.2.3