memset 0 for FastCharConverter
parent
e2735189a5
commit
abc9882418
|
|
@ -28,6 +28,7 @@ int char_converter_init(FastCharConverter *pCharConverter,
|
||||||
return EINVAL;
|
return EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memset(pCharConverter, 0, sizeof(FastCharConverter));
|
||||||
pCharConverter->count = count;
|
pCharConverter->count = count;
|
||||||
for (i=0; i<count; i++)
|
for (i=0; i<count; i++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue