libX11: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Sun Feb 7 04:29:22 CET 2016
src/xcms/HVC.c | 8 ++++----
src/xcms/IdOfPr.c | 2 +-
src/xcms/LRGB.c | 6 +++---
src/xcms/Lab.c | 4 ++--
src/xcms/Luv.c | 4 ++--
src/xcms/XYZ.c | 4 ++--
src/xcms/cmsColNm.c | 6 +++---
src/xcms/uvY.c | 8 ++++----
src/xcms/xyY.c | 4 ++--
9 files changed, 23 insertions(+), 23 deletions(-)
New commits:
commit 6d7bb040c928485f2557c2c914b95cffb2354179
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Feb 6 14:18:32 2016 -0800
xcms: use size_t for pointer offsets passed to strncmp
instead of converting to int and back
Fixes clang warnings of the form:
HVC.c:190:43: warning: implicit conversion changes signedness: 'int' to
'unsigned long' [-Wsign-conversion]
if (strncmp(spec, _XcmsTekHVC_prefix, n) != 0) {
~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit a9266804eed38a83897ab5f0f9f8a8ab82a98882
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Feb 6 13:32:44 2016 -0800
xcms: use unsigned indexes when looping through unsigned values
Clears many gcc warnings of the form:
uvY.c: In function ‘XcmsCIEuvYToCIEXYZ’:
uvY.c:263:19: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
for (i = 0; i < nColors; i++, pColor++) {
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 0ee0d383b4488b7b90d8bd50b75c371e0dc0d397
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Feb 6 13:01:25 2016 -0800
xcms: use size_t for strlen/sizeof values instead of converting to int & back
Fixes gcc warnings of the form:
IdOfPr.c: In function ‘XcmsFormatOfPrefix’:
IdOfPr.c:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((len = strlen(prefix)) >= sizeof(string_buf)) {
^
IdOfPr.c:83:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (len >= sizeof(string_buf)) Xfree(string_lowered);
^
IdOfPr.c:97:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (len >= sizeof(string_buf)) Xfree(string_lowered);
^
IdOfPr.c:104:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (len >= sizeof(string_buf)) Xfree(string_lowered);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list