[Libreoffice-commits] .: compilerplugins/clang
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Jan 5 13:21:02 PST 2013
compilerplugins/clang/plugin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 428a815fbcdab7da1a4a9d47137340bf10893c6e
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Sat Jan 5 22:19:10 2013 +0100
I hate arbitrary integer types
Change-Id: I4c8edfc0ee0390d595c43e384bf6e5f595a7b84f
diff --git a/compilerplugins/clang/plugin.cxx b/compilerplugins/clang/plugin.cxx
index d6bc910..11791b1 100644
--- a/compilerplugins/clang/plugin.cxx
+++ b/compilerplugins/clang/plugin.cxx
@@ -239,7 +239,7 @@ class PluginHandler
{
string filename( e->getName());
int modulePos = strlen( OUTDIR ) + strlen( "/inc/" );
- int moduleEnd = filename.find( '/', modulePos );
+ size_t moduleEnd = filename.find( '/', modulePos );
if( moduleEnd != string::npos )
{
modifyFile = SRCDIR "/" + filename.substr( modulePos, moduleEnd - modulePos )
More information about the Libreoffice-commits
mailing list