12 lines
510 B
Diff
12 lines
510 B
Diff
|
--- src/pstree.c
|
||
|
+++ src/pstree.c 2008-10-09 16:24:23.278874191 +0200
|
||
|
@@ -861,7 +861,7 @@ 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.
|