diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-01-05 22:19:10 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-05 22:20:40 +0100 |
commit | 428a815fbcdab7da1a4a9d47137340bf10893c6e (patch) | |
tree | 2eb69d908c8e987885fa235f3f40a26bcdc0831d /compilerplugins | |
parent | 7f00e84f0a293b8662dd2a7fa57c654ebb37f556 (diff) |
I hate arbitrary integer types
Change-Id: I4c8edfc0ee0390d595c43e384bf6e5f595a7b84f
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/plugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/plugin.cxx b/compilerplugins/clang/plugin.cxx index d6bc9106206e..11791b196fef 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 ) |