From 49ea2258d482950ad3af16f9c8ac4fef7f192fc0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 28 May 2015 16:48:15 +0200 Subject: loplugin:loopvartoosmall Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4 --- helpcompiler/source/HelpCompiler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpcompiler') diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx index a45b3567b448..2f67295783c5 100644 --- a/helpcompiler/source/HelpCompiler.cxx +++ b/helpcompiler/source/HelpCompiler.cxx @@ -464,7 +464,7 @@ bool HelpCompiler::compile() std::string title; // returns a clone of the document with switch-cases resolved std::string appl = module.substr(1); - for (unsigned int i = 0; i < appl.length(); ++i) + for (size_t i = 0; i < appl.length(); ++i) { appl[i]=toupper(appl[i]); } -- cgit