From 4c2fd192ccd5e3a372c7dc8cf1217c2f719a6bc7 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Thu, 26 Nov 2020 08:14:20 +0000 Subject: [PATCH] fixed a bug in xma initialization --- qse/lib/cmn/xma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qse/lib/cmn/xma.c b/qse/lib/cmn/xma.c index e7b52a28..0dc30d51 100644 --- a/qse/lib/cmn/xma.c +++ b/qse/lib/cmn/xma.c @@ -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 */ xma->start = (qse_uint8_t*)first; xma->end = xma->start + zonesize; - xma->internal = 1; + xma->internal = internal; /* initialize some statistical variables */ #if defined(QSE_XMA_ENABLE_STAT)