From 8ac128c6006d5fc7605fba1e42820a1e33ff02ee Mon Sep 17 00:00:00 2001 From: Angel Leon Date: Wed, 8 Sep 2021 13:55:51 -0600 Subject: [PATCH] silence conversion signedness warning on file.cpp fixes warning: implicit conversion changes signedness: 'int' to 'mode_t' --- src/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file.cpp b/src/file.cpp index 791d1c6859d..0bdc5c1dedf 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -583,7 +583,7 @@ static_assert(!(open_mode::sparse & open_mode::attribute_mask), "internal flags // rely on default umask to filter x and w permissions // for group and others - int permissions = S_IRUSR | S_IWUSR + mode_t permissions = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;