2
0
Ray 1 жил өмнө
parent
commit
fe757b6267
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/rtextures.c

+ 1 - 1
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;
             }
         }