]> git.lyx.org Git - features.git/commitdiff
Fix warning
authorRichard Kimberly Heck <rikiheck@lyx.org>
Sat, 10 Oct 2020 14:00:16 +0000 (10:00 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Sat, 10 Oct 2020 21:12:50 +0000 (17:12 -0400)
src/KeyMap.cpp

index c5c387f28f8398617377225c7a102dc31d06f7f2..3698ddb64254d421bb619eb3408f009c82cf0fe9 100644 (file)
@@ -299,7 +299,7 @@ KeyMap::ReturnValues KeyMap::readWithoutConv(FileName const & bind_file, KeyMap
        LYXERR(Debug::KBMAP, "Reading bind file:" << bind_file.absFileName());
 
        // format of pre-2.0 bind files, before this tag was introduced.
-       unsigned int format = 0;
+       int format = 0;
        bool error = false;
        while (lexrc.isOK()) {
                switch (lexrc.lex()) {