summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Host/posix/FileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/posix/FileSystem.cpp b/lldb/source/Host/posix/FileSystem.cpp
index a78c628615c..813d96bda78 100644
--- a/lldb/source/Host/posix/FileSystem.cpp
+++ b/lldb/source/Host/posix/FileSystem.cpp
@@ -184,7 +184,7 @@ static bool IsLocal(const struct statfs& info)
{
#ifdef __linux__
#define CIFS_MAGIC_NUMBER 0xFF534D42
- switch (info.f_type)
+ switch ((uint32_t)info.f_type)
{
case NFS_SUPER_MAGIC:
case SMB_SUPER_MAGIC:
OpenPOWER on IntegriCloud