summaryrefslogtreecommitdiff
path: root/gs/src/zdevice.c
diff options
context:
space:
mode:
Diffstat (limited to 'gs/src/zdevice.c')
-rw-r--r--gs/src/zdevice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/src/zdevice.c b/gs/src/zdevice.c
index b3317adc8..fd06156e1 100644
--- a/gs/src/zdevice.c
+++ b/gs/src/zdevice.c
@@ -287,7 +287,7 @@ zmakewordimagedevice(i_ctx_t *i_ctx_p)
colors = op1->value.bytes;
colors_size = r_size(op1);
}
- if ((code = read_matrix(op - 4, &imat)) < 0)
+ if ((code = read_matrix(imemory, op - 4, &imat)) < 0)
return code;
/* Everything OK, create device */
code = gs_makewordimagedevice(&new_dev, &imat,