summaryrefslogtreecommitdiff
path: root/gs/base
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2015-06-19 11:02:04 +0100
committerChris Liddell <chris.liddell@artifex.com>2015-06-19 15:21:39 +0100
commit24f0b7d55b89b30d64623e03269027020628a432 (patch)
treedc208d00395644defd373e2f834fc8b1cee709f1 /gs/base
parent1e7db1c8bc26d57740b6ce4e6bcb2a154de2952a (diff)
downloadghostpdl-24f0b7d55b89b30d64623e03269027020628a432.tar.gz
Coverity: change parameter from explicit array to ptr.
gs_type42_default_get_metrics() takes either a 4 element or 8 element float array depending on metrics requested, but the parameter was explicitly declared as a four element array. No cluster diffs.
Diffstat (limited to 'gs/base')
-rw-r--r--gs/base/gstype42.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/base/gstype42.c b/gs/base/gstype42.c
index ccaa204b9..403df933f 100644
--- a/gs/base/gstype42.c
+++ b/gs/base/gstype42.c
@@ -1166,7 +1166,7 @@ simple_glyph_metrics(gs_font_type42 * pfont, uint glyph_index, int wmode,
*/
int
gs_type42_default_get_metrics(gs_font_type42 * pfont, uint glyph_index,
- gs_type42_metrics_options_t options, float sbw[4])
+ gs_type42_metrics_options_t options, float *sbw)
{
gs_glyph_data_t glyph_data;
int code;