aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/alcConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c
index 1cdd65b7..a058029e 100644
--- a/Alc/alcConfig.c
+++ b/Alc/alcConfig.c
@@ -157,7 +157,7 @@ static char *expdup(const char *str)
void *temp = NULL;
size_t newmax;
- newmax = NextPowerOf2(len+addstrlen+1);
+ newmax = len+addstrlen+1;
if(newmax > maxlen)
temp = realloc(output, newmax);
if(!temp)