[Plib-cvs] plib/src/ssg ssgLoadMDL_BGLTexture.cxx,1.5,1.6
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2004-05-04 12:45:56
|
Update of /cvsroot/plib/plib/src/ssg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12429 Modified Files: ssgLoadMDL_BGLTexture.cxx Log Message: Changes by "Simon" to make it compile on Macintosh. See plib devel mailing list, mail of 3.5.2004. Index: ssgLoadMDL_BGLTexture.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssgLoadMDL_BGLTexture.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ssgLoadMDL_BGLTexture.cxx 2 Sep 2002 06:05:48 -0000 1.5 +++ ssgLoadMDL_BGLTexture.cxx 4 May 2004 12:45:47 -0000 1.6 @@ -316,7 +316,11 @@ FILE *tfile; int index = 0; if ( (tfile = fopen(fname, "rb")) == NULL) { - char *p = strrchr(fname,'_'); +#ifdef UL_BB + char *p = strrchr((char*)fname,'_'); +#else + char *p = strrchr(fname,'_'); +#endif if (p != 0) { *p = '\0'; p++; |