summaryrefslogtreecommitdiff
blob: 0779451f37546faffd790b0471a36eb087faa783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur lineakd-0.7.2_/lineakd/lkey.cpp lineakd-0.7.2/lineakd/lkey.cpp
--- lineakd-0.7.2_/lineakd/lkey.cpp	2004-11-07 20:35:27.436720920 +0100
+++ lineakd-0.7.2/lineakd/lkey.cpp	2004-11-07 20:35:40.906673176 +0100
@@ -39,7 +39,7 @@
        		name1|name2|name3 */
     string key = keyname;
     int index;
-		while (((unsigned int)(index = key.find('|'))) != string::npos) {
+		while (((index = key.find('|'))) != string::npos) {
     		toggle = true;
 				dtoggle = true;
         string tmp = key.substr(0,index);