xrefresh: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Sun Jan 13 09:21:53 PST 2013
configure.ac | 3 +++
xrefresh.c | 22 ++++++++++++++++++----
2 files changed, 21 insertions(+), 4 deletions(-)
New commits:
commit 1a26cd81c08c008f8252ca03211705ce4951bab2
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Jan 13 09:09:19 2013 -0800
Use strcasecmp if available, instead of downcasing string before strcmp
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 865c7c3da3a827cff080a763613d02729e9d4e33
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Jan 13 08:37:49 2013 -0800
Fix implicit sign conversion & integer size truncation warnings
xrefresh.c:125:14: warning: implicit conversion loses integer precision:
'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
arglen = strlen (arg);
~ ^~~~~~~~~~~~
xrefresh.c:126:12: warning: implicit conversion loses integer precision:
'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
slen = strlen (s);
~ ^~~~~~~~~~
xrefresh.c:132:26: warning: implicit conversion changes signedness: 'int' to
'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (strncmp (arg, s, slen) == 0) return (True);
~~~~~~~ ^~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list