summaryrefslogtreecommitdiff
path: root/base/gsptype1.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2020-03-31 14:59:04 +0100
committerRobin Watts <Robin.Watts@artifex.com>2020-03-31 17:40:16 +0100
commita32c6fdce5fab7d5918d02d30a4cf6696af58db3 (patch)
tree49ea8ef7787ad7d72bb9299f9ac40b498686e769 /base/gsptype1.c
parent4dd43e9ca448777bbd585ef3ce97e9cf593f395d (diff)
downloadghostpdl-a32c6fdce5fab7d5918d02d30a4cf6696af58db3.tar.gz
Squash some compiler warnings.
Diffstat (limited to 'base/gsptype1.c')
-rw-r--r--base/gsptype1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gsptype1.c b/base/gsptype1.c
index 8edcd1faa..9259471fd 100644
--- a/base/gsptype1.c
+++ b/base/gsptype1.c
@@ -2128,7 +2128,7 @@ gx_dc_pattern_read(
/* we shouldn't have miltiple tiles locked, but check if OK before unlocking */
if (ptile->id != buf.id)
return_error(gs_error_unregistered); /* can't unlock some other tile in this slot */
- code = gx_pattern_cache_entry_set_lock(pgs, buf.id, false); /* make sure not locked */
+ code = gx_pattern_cache_entry_set_lock((gs_gstate *)pgs, buf.id, false); /* make sure not locked */
if (code < 0)
return code; /* can't happen since we call ensure_space above, but Coverity doesn't know that */
}