diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-09-06 00:15:23 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-09-06 00:17:01 -0700 |
commit | 1b8bf0b5477c1f6ad38a7d57cd9ef354409472d1 (patch) | |
tree | 63e3577927b695a36de485ffe3a8e5410355194a /autogen.sh | |
parent | 1519db19e3d1ed1efc07c8c428c1e9013d93f285 (diff) |
Explicitly cast tolower() return value to char before storing in a char
For ancient historical compatibility, the C standards define the
<ctype.h> functions as taking & returning ints, but limiting them
to the subset of values that fit in a char.
Silences clang warning:
xkill.c:244:12: warning: implicit conversion loses integer precision: 'int' to
'char' [-Wconversion]
*cp = _tolower (*cp);
~ ^~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions