xclipboard: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Thu Jul 18 20:38:01 PDT 2013
xclipboard.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 25b41a35484ba4db23627e57d105b7156c19816f
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Thu Jul 18 20:25:53 2013 -0700
Fix some size/sign conversion warnings from clang
xclipboard.c:108:27: warning: implicit conversion changes signedness:
'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
clip->clip = malloc (len + 1);
~~~~~~ ~~~~^~~
xclipboard.c:103:11: warning: implicit conversion loses integer precision:
'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
len = strlen (data);
~ ^~~~~~~~~~~~~
xclipboard.c:331:15: warning: implicit conversion loses integer precision:
'int' to 'Boolean' (aka 'char') [-Wconversion]
success = XawAsciiSaveAsFile (XawTextGetSource (text), filename);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list