]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_factory.C
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_factory.C
index 7e09a0abcc706c00edcba25c56d244666e23a956..1c49eb935b1fc1c7c36dbb95bae71219d8110789 100644 (file)
@@ -30,7 +30,7 @@ MathAtom createMathInset(latexkeys const * l)
        case LM_TK_FUNCLIM:
                return MathAtom(new MathFuncLimInset(l->name));
        case LM_TK_SPECIAL:
-               return MathAtom(new MathSpecialCharInset(l->id));
+               return MathAtom(new MathSpecialCharInset(static_cast<char>(l->id)));
        case LM_TK_SYM:
        case LM_TK_CMR:
        case LM_TK_CMSY: