diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2022-05-30 09:23:37 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2022-06-03 15:52:57 -0400 |
commit | b4ed18f1dc398ea39d9f76da556306fe02f26c97 (patch) | |
tree | 76638aa13841a901b4b29228ffb10b43ed00c8a1 | |
parent | f2583758d3e5c65f372387d1c67433856682c3fb (diff) | |
download | xorg-lib-libXft-b4ed18f1dc398ea39d9f76da556306fe02f26c97.tar.gz |
quiet compiler warning with cast
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r-- | src/xftdraw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xftdraw.c b/src/xftdraw.c index ef9dbc2..ca9286a 100644 --- a/src/xftdraw.c +++ b/src/xftdraw.c @@ -112,7 +112,7 @@ XftDrawBitsPerPixel (XftDraw *draw) for (i = 0; i < nformats; i++) { - if (formats[i].depth == depth) + if ((unsigned) formats[i].depth == depth) { draw->bits_per_pixel = (unsigned)formats[i].bits_per_pixel; break; |