1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

fixed valgrind initialisation issue

git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@47 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
cameronrich
2006-12-02 03:26:43 +00:00
parent 3d2f9ac3fd
commit e146dbca4f
3 changed files with 90 additions and 89 deletions

View File

@ -1068,7 +1068,7 @@ static bigint *alloc(BI_CTX *ctx, int size)
{
/* No free bigints available - create a new one. */
biR = (bigint *)malloc(sizeof(bigint));
biR->comps = (comp*) malloc(size * COMP_BYTE_SIZE);
biR->comps = (comp*)malloc(size * COMP_BYTE_SIZE);
biR->max_comps = size; /* give some space to spare */
}