summaryrefslogtreecommitdiff
path: root/psi/psitop.c
diff options
context:
space:
mode:
authorRalph Giles <ralph.giles@artifex.com>2009-03-08 08:52:43 +0000
committerRalph Giles <ralph.giles@artifex.com>2009-03-08 08:52:43 +0000
commitfa241a1e235405fb69d652f54b7302c4831aad70 (patch)
tree8f3082fe35e26a3cccbdf111463dd2575f49c02a /psi/psitop.c
parent090673499152dea6195eae17117a248132c068b7 (diff)
Remove a redundant cast.
Discovered tracing the previous issue. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@9539 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'psi/psitop.c')
-rwxr-xr-xpsi/psitop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/psi/psitop.c b/psi/psitop.c
index 4c02a3a60..784fb3013 100755
--- a/psi/psitop.c
+++ b/psi/psitop.c
@@ -309,7 +309,7 @@ ps_impl_get_device_memory(
*pmem = mem->stable_memory;
/* Lock against alloc_restore_all to release the device when called from gsapi_exit : */
- ((gs_ref_memory_t *)mem)->num_contexts++;
+ mem->num_contexts++;
return 0;
}