From 464026f15c5d6c31625b5f21676ed6a9a8f30ffe Mon Sep 17 00:00:00 2001 From: Ray <raysan5@gmail.com> Date: Wed, 12 Jan 2022 12:00:47 +0100 Subject: [PATCH] Update rcore.c --- src/rcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index 95bb0bab3..d8e96b7a6 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -3261,7 +3261,7 @@ char *EncodeDataBase64(const unsigned char *data, int dataLength, int *outputLen encodedData[j++] = base64encodeTable[(triple >> 0*6) & 0x3F]; } - for (int i = 0; i < modTable[dataLength%3]; i++) encodedData[*outputLength - 1 - i] = '='; + for (int i = 0; i < modTable[dataLength%3]; i++) encodedData[*outputLength - 1 - i] = '='; // Padding character return encodedData; }