diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2024-05-11 19:24:28 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2024-05-20 01:27:00 +0200 |
commit | 9f4119a6e032d2b86becf48def2de1d6a4c60565 (patch) | |
tree | 0d4086341769cd90eac3c3304126fe6cfcf81a1e /nx-X11/programs/Xserver/mi/mispritest.h | |
parent | a7d2c5abdc8e1573aaec97bcc5912597be61f86c (diff) | |
download | nx-libs-9f4119a6e032d2b86becf48def2de1d6a4c60565.tar.gz nx-libs-9f4119a6e032d2b86becf48def2de1d6a4c60565.tar.bz2 nx-libs-9f4119a6e032d2b86becf48def2de1d6a4c60565.zip |
fbbltone.c: Mark bitmasks as unsigned ints
Backport of this commit:
commit 1b2d17748f0154da142e9b421d4f6a46e4e5a18c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun May 22 13:50:14 2011 -0700
fbbltone.c: Mark bitmasks as unsigned ints
Clears many Sun compiler warnings:
"fbbltone.c", line 491: warning: integer overflow detected: op "<<"
"fbbltone.c", line 491: warning: integer overflow detected: op "<<"
"fbbltone.c", line 491: warning: integer overflow detected: op "<<"
"fbbltone.c", line 491: warning: initializer will be sign-extended: -16777216
"fbbltone.c", line 491: warning: integer overflow detected: op "<<"
"fbbltone.c", line 491: warning: initializer will be sign-extended: -1
"fbbltone.c", line 495: warning: integer overflow detected: op "<<"
"fbbltone.c", line 495: warning: integer overflow detected: op "<<"
"fbbltone.c", line 495: warning: integer overflow detected: op "<<"
"fbbltone.c", line 495: warning: initializer will be sign-extended: -256
"fbbltone.c", line 495: warning: integer overflow detected: op "<<"
"fbbltone.c", line 495: warning: initializer will be sign-extended: -1
"fbbltone.c", line 499: warning: integer overflow detected: op "<<"
"fbbltone.c", line 499: warning: integer overflow detected: op "<<"
"fbbltone.c", line 499: warning: integer overflow detected: op "<<"
"fbbltone.c", line 499: warning: initializer will be sign-extended: -65536
"fbbltone.c", line 499: warning: integer overflow detected: op "<<"
"fbbltone.c", line 499: warning: initializer will be sign-extended: -1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'nx-X11/programs/Xserver/mi/mispritest.h')
0 files changed, 0 insertions, 0 deletions