diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-12 21:14:17 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-12 21:14:17 +0000 |
commit | 58cfbf297a9ea1656e861eba6bbcda8b9791497e (patch) | |
tree | fbd66e57f807d61405e9be2082fb721ea31480e3 /kdecore/kpalette.cpp | |
parent | e6e12dd07c6670d8758788e4955ad743b4b9e888 (diff) | |
download | tdelibs-58cfbf297a9ea1656e861eba6bbcda8b9791497e.tar.gz tdelibs-58cfbf297a9ea1656e861eba6bbcda8b9791497e.zip |
Fixed a few minor compilation errors
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1162855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kpalette.cpp')
-rw-r--r-- | kdecore/kpalette.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdecore/kpalette.cpp b/kdecore/kpalette.cpp index bc446367a..6dc1800f1 100644 --- a/kdecore/kpalette.cpp +++ b/kdecore/kpalette.cpp @@ -65,10 +65,10 @@ KPalette::KPalette(const TQString &name) // Read first line // Expected "GIMP Palette" - if (paletteFile.readLine(line.ascii(), maxLength) == -1) return; + if (paletteFile.readLine(const_cast<char *>(line.ascii()), maxLength) == -1) return; if (line.find(" Palette") == -1) return; - while( paletteFile.readLine(line.ascii(), maxLength) != -1) + while( paletteFile.readLine(const_cast<char *>(line.ascii()), maxLength) != -1) { if (line[0] == '#') { |