diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2022-03-09 16:48:04 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2022-03-09 17:05:14 +0000 |
commit | 83ec9787bcd4b2d41aefa8337acc51c158697ca5 (patch) | |
tree | 086761caa3198c9d7043caee2ebea6adec6aca4e | |
parent | 0ae9ac4aef71408ae8498e9370ed6c6105f31641 (diff) | |
download | ghostpdl-83ec9787bcd4b2d41aefa8337acc51c158697ca5.tar.gz |
Fix compiler warning due to incorrect macro
I'd accidentally used imemory instead of iimemory to access to the current
Postscript VM allocator.
-rw-r--r-- | psi/zdevice.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/psi/zdevice.c b/psi/zdevice.c index 6e8f4ff02..349c2fd3b 100644 --- a/psi/zdevice.c +++ b/psi/zdevice.c @@ -318,8 +318,7 @@ zgetdevice(i_ctx_t *i_ctx_p) psdev->device = (gx_device *)dev; /* Device prototypes are read-only; */ - /* the cast is logically unnecessary. */ - make_tav(op, t_device, imemory_space(imemory) | a_readonly, pdevice, psdev); + make_tav(op, t_device, imemory_space(iimemory) | a_readonly, pdevice, psdev); return 0; } @@ -343,7 +342,7 @@ zgetdefaultdevice(i_ctx_t *i_ctx_p) psdev->device = (gx_device *)dev; push(1); - make_tav(op, t_device, imemory_space(imemory) | a_readonly, pdevice, psdev); + make_tav(op, t_device, imemory_space(iimemory) | a_readonly, pdevice, psdev); return 0; } |