From a77ca519eaa64c503afa7a2002da95a831c08dbb Mon Sep 17 00:00:00 2001 From: Omair Javaid Date: Mon, 27 Apr 2015 12:01:59 +0000 Subject: [PATCH] Fix LLDB ARM build error on ubuntu precise with gcc4.7 Differential revision: http://reviews.llvm.org/D9100 llvm-svn: 235865 --- lldb/source/Host/posix/FileSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Host/posix/FileSystem.cpp b/lldb/source/Host/posix/FileSystem.cpp index a78c628..813d96b 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: -- 2.7.4