summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-09-06 00:15:23 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-09-06 00:17:01 -0700
commit1b8bf0b5477c1f6ad38a7d57cd9ef354409472d1 (patch)
tree63e3577927b695a36de485ffe3a8e5410355194a /.gitignore
parent1519db19e3d1ed1efc07c8c428c1e9013d93f285 (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 '.gitignore')
0 files changed, 0 insertions, 0 deletions