summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2014-03-26 20:46:17 +0000
committerMarkus Engel <markus.engel@tum.de>2014-03-26 20:46:17 +0000
commit31c8b511d6306bd4e922388ef483d1c232ed52d6 (patch)
treea5201a504511fb3b78e3564115704383adc79091 /src
parentSecond patch for analyzer warnings in libuemf. (diff)
downloadinkscape-31c8b511d6306bd4e922388ef483d1c232ed52d6.tar.gz
inkscape-31c8b511d6306bd4e922388ef483d1c232ed52d6.zip
Two more changes in libuemf to silence analyzer.
(bzr r13215)
Diffstat (limited to 'src')
-rw-r--r--src/libuemf/symbol_convert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libuemf/symbol_convert.c b/src/libuemf/symbol_convert.c
index 650f4332d..6a919fc2f 100644
--- a/src/libuemf/symbol_convert.c
+++ b/src/libuemf/symbol_convert.c
@@ -988,8 +988,8 @@ int i;
if(hold_symb != new_symb || hold_wing != new_wing
|| hold_zdng != new_zdng || hold_pua != new_pua ){ // must (re)generate tables
if(!from_unicode){ // create arrays
- from_unicode = (unsigned char *) calloc(0x10000,sizeof(char));
- to_font = (unsigned char *) calloc(0x10000,sizeof(char));
+ from_unicode = (unsigned char *) calloc(0x10000,sizeof(unsigned char));
+ to_font = (unsigned char *) calloc(0x10000,sizeof(unsigned char));
// should check here for malloc error
}
hold_symb = new_symb;