]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathFactory.C
Fix MSVC warning.
[features.git] / src / mathed / MathFactory.C
index fbdf34220d886de6ca1da8b22646afb1408101b2..c57b557954a1e4ddfeed200ad347189993b9754f 100644 (file)
@@ -325,7 +325,7 @@ MathAtom createInsetMath(docstring const & s)
                                case 'W':
                                case 'H':
                                case 'L':
-                                       spacing_code = s[i];
+                                       spacing_code = static_cast<char>(s[i]);
                                        ++i;
                                        break;
                                }