summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2012-05-07 19:14:28 +0100
committerChris Liddell <chris.liddell@artifex.com>2012-05-07 19:15:12 +0100
commit365df54880adff1bd0b7d983c440fb518250c9f0 (patch)
tree0accb98bc11a6c863a323700c19642c5c7768ffe
parent949993da66cd9850ce47c7319465aed42585b261 (diff)
Fix a warning in zfapi.c
No cluster differences.
-rw-r--r--gs/psi/zfapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gs/psi/zfapi.c b/gs/psi/zfapi.c
index 29ec6d40b..3f5294878 100644
--- a/gs/psi/zfapi.c
+++ b/gs/psi/zfapi.c
@@ -829,7 +829,8 @@ static int FAPI_FF_get_proc(FAPI_font *ff, fapi_font_feature var_id, int index,
switch (r_btype(&Element)) {
case t_name:
name_string_ref(ff->memory, &Element, &string);
- strncpy(ptr, string.value.const_bytes, r_size(&string));
+
+ strncpy(ptr, (char *)string.value.const_bytes, r_size(&string));
ptr += r_size(&string);
break;
case t_real: