1 diff -Naur motor-3.4.0.orig/kkconsui/src/texteditor.cc motor-3.4.0.new/kkconsui/src/texteditor.cc
2 --- motor-3.4.0.orig/kkconsui/src/texteditor.cc 2003-09-09 17:51:33.000000000 -0400
3 +++ motor-3.4.0.new/kkconsui/src/texteditor.cc 2007-06-29 15:55:13.000000000 -0400
7 int texteditor::findint(void *p1, void *p2) {
8 - return *(int *) p1 != (int) p2;
9 + return *(int *) p1 != *(int *) p2;
12 int texteditor::findhighline(void *p1, void *p2) {
13 diff -Naur motor-3.4.0.orig/kkstrtext/kkstrtext.cc motor-3.4.0.new/kkstrtext/kkstrtext.cc
14 --- motor-3.4.0.orig/kkstrtext/kkstrtext.cc 2005-01-31 19:13:24.000000000 -0500
15 +++ motor-3.4.0.new/kkstrtext/kkstrtext.cc 2007-06-29 15:53:39.000000000 -0400
19 int intcompare(void *s1, void *s2) {
20 - return (int) s1 != (int) s2;
21 + return *(int *) s1 != *(int *) s2;
25 diff -Naur motor-3.4.0.orig/src/ui/ncurses/ncursesui.cc motor-3.4.0.new/src/ui/ncurses/ncursesui.cc
26 --- motor-3.4.0.orig/src/ui/ncurses/ncursesui.cc 2004-11-14 16:04:08.000000000 -0500
27 +++ motor-3.4.0.new/src/ui/ncurses/ncursesui.cc 2007-06-29 15:57:40.000000000 -0400
29 populatesettingstree(*db.gettree());
30 if(fin = !db.open(n, b, &p)) break;
33 + switch(*(int *) p) {
35 if(input(motorui::text, buf = project.getversion(),
36 _("version: ")) == motorui::yes) {
41 - if(sid = (int) tree.getref(id))
42 + if(sid = *(int *) tree.getref(id))
43 if(!tree.isnodeopen(id))
44 cnodes.push_back(treeshit[sid-1].second->gettagname());
46 diff -Naur motor-3.4.0.orig/src/ui/ncurses/uitagbrowser.cc motor-3.4.0.new/src/ui/ncurses/uitagbrowser.cc
47 --- motor-3.4.0.orig/src/ui/ncurses/uitagbrowser.cc 2004-07-22 20:18:16.000000000 -0400
48 +++ motor-3.4.0.new/src/ui/ncurses/uitagbrowser.cc 2007-06-29 15:59:42.000000000 -0400
53 - int c = (int) cm.getref(n-1);
54 + int c = *(int *) cm.getref(n-1);
56 if(c != tagbrowser.getscope()) {
57 tagbrowser.setscope((motortagbrowser::viewscope) c);
62 - c = (char) (int) cm.getref(cm.getpos());
63 + c = (char) *(int *) cm.getref(cm.getpos());
65 while((pos = nfilter.find(c)) != -1) {
66 nfilter.erase(pos, 1);
70 if(r = (n = m.open())) {
71 - k = (int) m.getref(n-1);
72 + k = *(int *) m.getref(n-1);
76 diff -Naur motor-3.4.0.orig/src/ui/ncurses/uivcs.cc motor-3.4.0.new/src/ui/ncurses/uivcs.cc
77 --- motor-3.4.0.orig/src/ui/ncurses/uivcs.cc 2005-02-12 09:58:28.000000000 -0500
78 +++ motor-3.4.0.new/src/ui/ncurses/uivcs.cc 2007-06-29 16:00:41.000000000 -0400
83 - i = (int) tree.getref(tree.getid(n));
84 + i = *(int *) tree.getref(tree.getid(n));
87 found = (ik = find(naffect.begin(), naffect.end(),