summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-01-29 11:45:11 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-01-29 11:56:47 -0800
commitfbd4b8fe00ba600b44232619425f76a6f4fa8208 (patch)
tree58b936e040f6a385be38e19ef3c18d1ba2e29bbf
parent0b7c07a1667c1f7e692b7694d374f27d46c3c923 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x2jet.c b/x2jet.c
index 2811f0f..e71441b 100644
--- a/x2jet.c
+++ b/x2jet.c
@@ -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);