encoding: Fix error code in xmlUconvConvert

Broke in 46ec621e.
This commit is contained in:
Nick Wellnhofer 2024-09-10 03:11:18 +02:00
parent de10d4cd5f
commit 55d36c5990

View File

@ -1301,7 +1301,7 @@ xmlUconvConvert(unsigned char *out, int *outlen,
break;
case U_MEMORY_ALLOCATION_ERROR:
ret = XML_ERR_NO_MEMORY;
ret = XML_ENC_ERR_MEMORY;
break;
default: