diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2016-02-06 14:18:32 -0800 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:30 +0200 |
commit | 68e3ee67c07282c11cd144fbdb767b41a6dacc4e (patch) | |
tree | c7081199596bc2be74d1889bc053f2071fd4c3cc /nx-X11/programs/Xserver/Xi/allowev.h | |
parent | 8d8d5cfd8c4f3d25c85d6ed60298f3aa917651eb (diff) | |
download | nx-libs-68e3ee67c07282c11cd144fbdb767b41a6dacc4e.tar.gz nx-libs-68e3ee67c07282c11cd144fbdb767b41a6dacc4e.tar.bz2 nx-libs-68e3ee67c07282c11cd144fbdb767b41a6dacc4e.zip |
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@oracle.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/programs/Xserver/Xi/allowev.h')
0 files changed, 0 insertions, 0 deletions