bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 6/7] libnetfs: fix type of variable


From: Etienne Brateau
Subject: [PATCH 6/7] libnetfs: fix type of variable
Date: Wed, 19 Jan 2022 20:29:44 +0100

---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]