diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-01-29 11:45:11 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-01-29 11:56:47 -0800 |
commit | fbd4b8fe00ba600b44232619425f76a6f4fa8208 (patch) | |
tree | 58b936e040f6a385be38e19ef3c18d1ba2e29bbf | |
parent | 0b7c07a1667c1f7e692b7694d374f27d46c3c923 (diff) |
Define pixel mask constant as unsigned long
Clears Sun Studio cc warning of:
"x2jet.c", line 1681: warning: constant promoted to unsigned long
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | x2jet.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1680,7 +1680,7 @@ void x2jet( read_xwd_data(in); - Z_pixel_mask = ~(0xFFFFFFFFL << xwd_header.pixmap_depth); + Z_pixel_mask = ~(0xFFFFFFFFUL << xwd_header.pixmap_depth); prepare_color_mapping(invert, paintjet, cutoff, out); |