summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-11-08 17:40:23 +0100
committerRay <[email protected]>2023-11-08 17:40:23 +0100
commitfe757b626703f91d59e04599ee033e993e00232b (patch)
tree6fb10e55e9bb6cf76540dede64f287fc373d24d1 /src
parent60fab9c40563e9b1782714f21ebad0a3b5ce84b7 (diff)
downloadraylib-fe757b626703f91d59e04599ee033e993e00232b.tar.gz
raylib-fe757b626703f91d59e04599ee033e993e00232b.zip
Update rtextures.c
Diffstat (limited to 'src')
-rw-r--r--src/rtextures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtextures.c b/src/rtextures.c
index 9465c5b3..98586db7 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;
}
}