[Lldb-commits] [PATCH] another gcc fix
dawn at burble.org
dawn at burble.org
Tue Oct 18 12:21:34 PDT 2011
This patch fixes the build under Gcc (again).
... oh how I wish we had a build-bot for Linux :)
Thanks,
-Dawn
-------------- next part --------------
Index: source/Host/common/FileSpec.cpp
===================================================================
--- source/Host/common/FileSpec.cpp (revision 142395)
+++ source/Host/common/FileSpec.cpp (working copy)
@@ -711,7 +711,7 @@
if (filename == NULL)
return ConstString();
- char* dot_pos = strrchr(filename, '.');
+ const char* dot_pos = strrchr(filename, '.');
if (dot_pos == NULL)
return ConstString();
@@ -725,7 +725,7 @@
if (filename == NULL)
return ConstString();
- char* dot_pos = strrchr(filename, '.');
+ const char* dot_pos = strrchr(filename, '.');
if (dot_pos == NULL)
return m_filename;
More information about the lldb-commits
mailing list