summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmair Javaid <omair.javaid@linaro.org>2015-04-27 12:01:59 +0000
committerOmair Javaid <omair.javaid@linaro.org>2015-04-27 12:01:59 +0000
commita77ca519eaa64c503afa7a2002da95a831c08dbb (patch)
tree9534a073cb541bb76d5186ba2e295369ec82c899
parent97d6672bb96b6533aaab44af07f84b21930ce9f1 (diff)
downloadbcm5719-llvm-a77ca519eaa64c503afa7a2002da95a831c08dbb.tar.gz
bcm5719-llvm-a77ca519eaa64c503afa7a2002da95a831c08dbb.zip
Fix LLDB ARM build error on ubuntu precise with gcc4.7
Differential revision: http://reviews.llvm.org/D9100 llvm-svn: 235865
-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