fixed a bug in xma initialization
This commit is contained in:
parent
57d875a095
commit
4c2fd192cc
@ -255,7 +255,7 @@ int qse_xma_init (qse_xma_t* xma, qse_mmgr_t* mmgr, void* zoneptr, qse_size_t zo
|
|||||||
/* let it be the head, which is natural with only a block */
|
/* let it be the head, which is natural with only a block */
|
||||||
xma->start = (qse_uint8_t*)first;
|
xma->start = (qse_uint8_t*)first;
|
||||||
xma->end = xma->start + zonesize;
|
xma->end = xma->start + zonesize;
|
||||||
xma->internal = 1;
|
xma->internal = internal;
|
||||||
|
|
||||||
/* initialize some statistical variables */
|
/* initialize some statistical variables */
|
||||||
#if defined(QSE_XMA_ENABLE_STAT)
|
#if defined(QSE_XMA_ENABLE_STAT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user