[*] Further further MALD

This commit is contained in:
Reece Wilson 2022-06-03 20:28:08 +01:00
parent 48e1ed80ae
commit f4515a7257

View File

@ -33,9 +33,9 @@ namespace Aurora::Parse
AUKN_SYM bool Base32Encode(const void *buffer, AuMach length, AuString &encoded)
{
unsigned long outLength = (length * 8 + 4) / 5;
unsigned long outLength = ((length * 8 + 4) / 5) + 5;
if (!AuTryResize(encoded, length))
if (!AuTryResize(encoded, outLength))
{
SysPushErrorMem();
return false;