summaryrefslogtreecommitdiff
path: root/src/xlib.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2021-03-10 19:36:04 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2021-03-11 20:24:54 -0500
commitcea72e14274d3288b641e14f6cf1171b97485790 (patch)
tree1748ed509df20a4a09bc668ab25dec49e299808a /src/xlib.c
parent204b6f130858ef038832887ea10488e7aed711a6 (diff)
quiet normal gcc warnings using casts (no object change)
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/xlib.c')
-rw-r--r--src/xlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xlib.c b/src/xlib.c
index 15716b2..c08abfd 100644
--- a/src/xlib.c
+++ b/src/xlib.c
@@ -291,7 +291,7 @@ XcursorImageHash (XImage *image,
if (bit_swap)
t = _reverse_byte[t];
if (t)
- hash[(i++) & (XCURSOR_BITMAP_HASH_SIZE - 1)] ^= RotByte (t, y & 7);
+ hash[(i++) & (XCURSOR_BITMAP_HASH_SIZE - 1)] ^= (unsigned char) RotByte (t, y & 7);
}
line += image->bytes_per_line;
}