]> git.lyx.org Git - lyx.git/blobdiff - src/support/lstrings.cpp
fix warning on possibly(?) unused precompiled headers due to different -fPic settings...
[lyx.git] / src / support / lstrings.cpp
index 6c48a90ee453275fbef7d0615bb7585256044fb0..8568b2f7e059294ee1a002335edf32b38b0c8e45 100644 (file)
@@ -248,7 +248,7 @@ bool isAscii(docstring const & str)
 {
        int const len = str.length();
        for (int i = 0; i < len; ++i)
-               if (static_cast<unsigned char>(str[i]) >= 0x80)
+               if (str[i] >= 0x80)
                        return false;
        return true;
 }