From 11ae1fbad0e7662f6d89688fde6fd85b7d50c940 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Mon, 30 Jun 2014 12:16:55 -0700 Subject: [PATCH] sync with fontforge master --- src/util/ffw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/ffw.c b/src/util/ffw.c index 1336097..ee24a2a 100644 --- a/src/util/ffw.c +++ b/src/util/ffw.c @@ -253,7 +253,7 @@ void ffw_reencode_raw2(char ** mapping, int mapping_len, int force) enc->enc_name = strcopy(""); enc->char_cnt = mapping_len; enc->unicode = (int32_t*)malloc(mapping_len * sizeof(int32_t)); - enc->psnames = (const char**)calloc(mapping_len, sizeof(char*)); + enc->psnames = (char**)calloc(mapping_len, sizeof(char*)); int i; for(i = 0; i < mapping_len; ++i) {