]> git.lyx.org Git - features.git/commitdiff
Fix MSVC warning.
authorAbdelrazak Younes <younes@lyx.org>
Sun, 5 Nov 2006 12:22:05 +0000 (12:22 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 5 Nov 2006 12:22:05 +0000 (12:22 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15747 a592a061-630c-0410-9148-cb99ea01b6c8

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;
                                }