From a98df5853719256139977e5de0146f3604af9975 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 7 Jun 2017 11:05:29 +0200 Subject: [PATCH] Fix warning about signed/unsigned --- src/insets/InsetListings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetListings.cpp b/src/insets/InsetListings.cpp index 0693b5af84..b5a5701817 100644 --- a/src/insets/InsetListings.cpp +++ b/src/insets/InsetListings.cpp @@ -125,7 +125,7 @@ void InsetListings::latex(otexstream & os, OutputParams const & runparams) const // then remove the relative options. vector opts = getVectorFromString(param_string, ",", false); - for (int i = 0; i < opts.size(); ++i) { + for (size_t i = 0; i < opts.size(); ++i) { if (prefixIs(opts[i], "float")) { if (prefixIs(opts[i], "float=")) float_placement = opts[i].substr(6);