=== modified file 'driver-ti.c' --- driver-ti.c 2008-11-28 19:48:41 +0000 +++ driver-ti.c 2008-11-24 22:15:43 +0000 @@ -148,9 +148,7 @@ { int err; - /* Have to cast away the const. But it's OK - we know terminfo won't really - * modify term */ - if(setupterm((char*)term, 1, &err) != OK) + if(setupterm(term, 1, &err) != OK) return NULL; termkey_ti *ti = malloc(sizeof *ti);