[Lldb-commits] [lldb] r107499 - /lldb/trunk/source/Core/FileSpec.cpp
Eli Friedman
eli.friedman at gmail.com
Fri Jul 2 12:15:50 PDT 2010
Author: efriedma
Date: Fri Jul 2 14:15:50 2010
New Revision: 107499
URL: http://llvm.org/viewvc/llvm-project?rev=107499&view=rev
Log:
Add const qualification; fixes error on gcc 4.4.
Modified:
lldb/trunk/source/Core/FileSpec.cpp
Modified: lldb/trunk/source/Core/FileSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/FileSpec.cpp?rev=107499&r1=107498&r2=107499&view=diff
==============================================================================
--- lldb/trunk/source/Core/FileSpec.cpp (original)
+++ lldb/trunk/source/Core/FileSpec.cpp Fri Jul 2 14:15:50 2010
@@ -82,7 +82,7 @@
return len;
}
- char *first_slash = ::strchr (src_path, '/');
+ const char *first_slash = ::strchr (src_path, '/');
char remainder[PATH_MAX];
if (first_slash == NULL)
More information about the lldb-commits
mailing list