summaryrefslogtreecommitdiff
path: root/devices/gdevpng.c
diff options
context:
space:
mode:
Diffstat (limited to 'devices/gdevpng.c')
-rw-r--r--devices/gdevpng.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/devices/gdevpng.c b/devices/gdevpng.c
index cf731018d..26fc5a8ab 100644
--- a/devices/gdevpng.c
+++ b/devices/gdevpng.c
@@ -858,11 +858,11 @@ pngalpha_fillpage(gx_device *dev, gs_gstate * pgs, gx_device_color *pdevc)
/* Handle the RGBA planes from the PDF 1.4 compositor */
static int
-pngalpha_put_image (gx_device *pdev, const byte **buffers, int num_chan, int xstart,
+pngalpha_put_image (gx_device *pdev, gx_device *mdev, const byte **buffers, int num_chan, int xstart,
int ystart, int width, int height, int row_stride,
int alpha_plane_index, int tag_plane_index)
{
- gx_device_memory *pmemdev = (gx_device_memory *)pdev;
+ gx_device_memory *pmemdev = (gx_device_memory *)mdev;
byte *buffer_prn;
int yend = ystart + height;
int xend = xstart + width;