]> git.lyx.org Git - features.git/commitdiff
Fix warning about signed/unsigned
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 7 Jun 2017 09:05:29 +0000 (11:05 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 7 Jun 2017 09:05:29 +0000 (11:05 +0200)
src/insets/InsetListings.cpp

index 0693b5af848c8d34d3f383c3c654000491ef8027..b5a5701817aebe74db5e876179c281a065e02400 100644 (file)
@@ -125,7 +125,7 @@ void InsetListings::latex(otexstream & os, OutputParams const & runparams) const
                // then remove the relative options.
                vector<string> 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);