]> git.lyx.org Git - features.git/commitdiff
* src/output_plaintext.C
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Mon, 14 Aug 2006 19:46:36 +0000 (19:46 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Mon, 14 Aug 2006 19:46:36 +0000 (19:46 +0000)
(asciiParagraph): fix constant overflow

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14679 a592a061-630c-0410-9148-cb99ea01b6c8

src/output_plaintext.C

index 5c7c32c390183dbca7c4cdaa9f54462a7d023b68..96d576556528adc05280d528a962d1cc750fd1bd 100644 (file)
@@ -196,7 +196,7 @@ void asciiParagraph(Buffer const & buf,
        string word;
 
        for (pos_type i = 0; i < par.size(); ++i) {
-               char c = par.getUChar(buf.params(), i);
+               lyx::char_type c = par.getUChar(buf.params(), i);
                switch (c) {
                case Paragraph::META_INSET: {
                        InsetBase const * inset = par.getInset(i);