From: Fredrik Fornwall Date: Thu, 7 Jun 2018 23:09:56 +0000 (+0200) Subject: Fix build warning when chars are unsigned X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=b76ee39c67f83aae042ba2d16e05cb0c98e8185d;hp=b76ee39c67f83aae042ba2d16e05cb0c98e8185d;p=smdp.git Fix build warning when chars are unsigned Fix the following warning when chars are unsigned: viewer.c:988:25: warning: comparison of constant -1 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare] while((c = getch()) != ERR) { ---