WRaster: Bugfix, added missing 'const' to RLoad* functions

Prototype of function changed in commit
  d1e1c13fa3
but two of them were not updated in the source.

Thanks to Rodolfo García Peñas for taking the time to test and report.
This commit is contained in:
Christophe CURIS authored and Carlos R. Mafra committed 2013-05-03 08:17:26 +01:00
1 parent 602fbc9ee4
commit ac89706859
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ static int InterlacedJumps[] = { 8, 8, 4, 2 };
/*
* Partially based on code in gif2rgb from giflib, by Gershon Elber.
*/
RImage *RLoadGIF(char *file, int index)
RImage *RLoadGIF(const char *file, int index)
{
RImage *image = NULL;
unsigned char *cptr;
+1 -1
View File
@@ -228,7 +228,7 @@ RImage *RGetImageFromXPMData(RContext * context, char **data)
return NULL;
}
RImage *RLoadXPM(RContext * context, char *file)
RImage *RLoadXPM(RContext * context, const char *file)
{
RImage *image = NULL;
char line[LINEWIDTH + 1];