$NetBSD: patch-ba,v 1.1 2008/08/02 20:26:21 dholland Exp $ --- kkconsui-0.1/src/texteditor.cc~ 2003-09-09 17:51:33.000000000 -0400 +++ kkconsui-0.1/src/texteditor.cc 2008-08-02 16:05:41.000000000 -0400 @@ -1940,7 +1940,7 @@ void texteditor::undorecordfree(void *p) } int texteditor::findint(void *p1, void *p2) { - return *(int *) p1 != (int) p2; + return *(int *) p1 != (int)(intptr_t) p2; } int texteditor::findhighline(void *p1, void *p2) {