Dr. Werner Fink 2017-06-20 18:02:05 +00:00 committed by Git OBS Bridge
parent 3e88d3f2c6
commit bf76aaf83d

View File

@ -1,15 +0,0 @@
---
src/pstree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- src/pstree.c
+++ src/pstree.c 2017-06-20 13:50:18.024118675 +0000
@@ -1093,7 +1093,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.