summaryrefslogtreecommitdiff
path: root/gs
diff options
context:
space:
mode:
authorIgor Melichev <igor.melichev@artifex.com>2005-10-10 19:09:30 +0000
committerIgor Melichev <igor.melichev@artifex.com>2005-10-10 19:09:30 +0000
commitd2a2f6f8cb929c413ddf001237191cc181752b7e (patch)
treee6dd6cffb4c5a890d9af47e1052646d3c1c413ea /gs
parent9e14c5d8cb60fe323f3adb7978eb9fa5ddd546a3 (diff)
Fix: Cygwin/gcc warninhs.
EXPECTED DIFFERENCES : None. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@6148 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs')
-rw-r--r--gs/src/devs.mak2
-rw-r--r--gs/src/gdevpdfb.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/gs/src/devs.mak b/gs/src/devs.mak
index a423b98e2..686a10c26 100644
--- a/gs/src/devs.mak
+++ b/gs/src/devs.mak
@@ -842,7 +842,7 @@ $(GLOBJ)gdevpdf.$(OBJ) : $(GLSRC)gdevpdf.c $(GDEVH)\
$(GLOBJ)gdevpdfb.$(OBJ) : $(GLSRC)gdevpdfb.c\
$(string__h) $(gx_h)\
$(gdevpdfg_h) $(gdevpdfo_h) $(gdevpdfx_h)\
- $(gserrors_h) $(gxcspace_h) $(gxpcolor_h) $(gxhldevc_h)
+ $(gserrors_h) $(gxcspace_h) $(gxdcolor_h) $(gxpcolor_h) $(gxhldevc_h)
$(GLCC) $(GLO_)gdevpdfb.$(OBJ) $(C_) $(GLSRC)gdevpdfb.c
$(GLOBJ)gdevpdfc.$(OBJ) : $(GLSRC)gdevpdfc.c $(GXERR) $(math__h) $(memory__h)\
diff --git a/gs/src/gdevpdfb.c b/gs/src/gdevpdfb.c
index ac70b3502..10437578a 100644
--- a/gs/src/gdevpdfb.c
+++ b/gs/src/gdevpdfb.c
@@ -23,6 +23,7 @@
#include "gdevpdfg.h"
#include "gdevpdfo.h" /* for data stream */
#include "gxcspace.h"
+#include "gxdcolor.h"
#include "gxpcolor.h"
#include "gxhldevc.h"
@@ -464,7 +465,7 @@ gdev_pdf_fill_mask(gx_device * dev,
if (width <= 0 || height <= 0)
return 0;
- if (depth > 1 || !gx_dc_is_pure(pdcolor) != 0 && pdcolor->type != &gx_dc_pattern)
+ if (depth > 1 || (!gx_dc_is_pure(pdcolor) != 0 && pdcolor->type != &gx_dc_pattern))
return gx_default_fill_mask(dev, data, data_x, raster, id,
x, y, width, height, pdcolor, depth, lop,
pcpath);