diff options
| author | Markus Engel <markus.engel@tum.de> | 2014-03-26 20:46:17 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2014-03-26 20:46:17 +0000 |
| commit | 31c8b511d6306bd4e922388ef483d1c232ed52d6 (patch) | |
| tree | a5201a504511fb3b78e3564115704383adc79091 /src | |
| parent | Second patch for analyzer warnings in libuemf. (diff) | |
| download | inkscape-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.c | 4 |
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; |
