[*] Further further MALD
This commit is contained in:
parent
48e1ed80ae
commit
f4515a7257
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user