From 03495651d78b8d802e1aa31e330aa93899a9386a Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 6 Dec 2019 14:33:28 -0600 Subject: Squash a warning. --- lib/portability.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/portability.c') diff --git a/lib/portability.c b/lib/portability.c index 5428766f..28aaf824 100644 --- a/lib/portability.c +++ b/lib/portability.c @@ -571,7 +571,7 @@ char *fs_type_name(struct statfs *statfs) for (i=0; if_type) s = nn[i].name; - if (!s) sprintf(s = libbuf, "0x%x", statfs->f_type); + if (!s) sprintf(s = libbuf, "0x%x", (unsigned)statfs->f_type); return s; #endif } -- cgit v1.2.3