From fe757b626703f91d59e04599ee033e993e00232b Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 8 Nov 2023 17:40:23 +0100 Subject: [PATCH] Update rtextures.c --- src/rtextures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtextures.c b/src/rtextures.c index 9465c5b39..98586db73 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -347,7 +347,7 @@ Image LoadImageSvg(const char *fileNameOrString, int width, int height) (fileNameOrString[2] == 'v') && (fileNameOrString[3] == 'g')) { - fileData = fileNameOrString; + fileData = (unsigned char *)fileNameOrString; isSvgStringValid = true; } }