[Lldb-commits] [lldb] r235865 - Fix LLDB ARM build error on ubuntu precise with gcc4.7

Omair Javaid omair.javaid at linaro.org
Mon Apr 27 05:01:59 PDT 2015


Author: omjavaid
Date: Mon Apr 27 07:01:59 2015
New Revision: 235865

URL: http://llvm.org/viewvc/llvm-project?rev=235865&view=rev
Log:
Fix LLDB ARM build error on ubuntu precise with gcc4.7

Differential revision: http://reviews.llvm.org/D9100


Modified:
    lldb/trunk/source/Host/posix/FileSystem.cpp

Modified: lldb/trunk/source/Host/posix/FileSystem.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/posix/FileSystem.cpp?rev=235865&r1=235864&r2=235865&view=diff
==============================================================================
--- lldb/trunk/source/Host/posix/FileSystem.cpp (original)
+++ lldb/trunk/source/Host/posix/FileSystem.cpp Mon Apr 27 07:01:59 2015
@@ -184,7 +184,7 @@ static bool IsLocal(const struct statfs&
 {
 #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:





More information about the lldb-commits mailing list