--- src/pstree.c +++ src/pstree.c 2010-07-13 10:14:50.978925622 +0000 @@ -868,7 +868,7 @@ int main(int argc, char **argv) } else if (isatty(1) && (termname = getenv("TERM")) && (strlen(termname) > 0) && (setupterm(NULL, 1 /* stdout */ , NULL) == OK) && - (tigetstr("acsc") > 0)) { + ((int)tigetstr("acsc") > 0)) { /* * Failing that, if TERM is defined, a non-null value, and the terminal * has the VT100 graphics charset, use it.