[Plib-cvs] plib/tools/src/af2rgb af2rgb.cxx,1.9,1.10
Brought to you by:
sjbaker
From: Bram S. <br...@us...> - 2005-01-09 13:47:45
|
Update of /cvsroot/plib/plib/tools/src/af2rgb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8833 Modified Files: af2rgb.cxx Log Message: _ulEndianSwap now seems to be ulEndianSwap Index: af2rgb.cxx =================================================================== RCS file: /cvsroot/plib/plib/tools/src/af2rgb/af2rgb.cxx,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- af2rgb.cxx 31 Aug 2002 13:49:08 -0000 1.9 +++ af2rgb.cxx 9 Jan 2005 13:47:36 -0000 1.10 @@ -35,7 +35,7 @@ if (ulIsLittleEndian) // this is the other way round compared to normally. // obviously, this is because the .rgb format comes from SGI. - _ulEndianSwap(&x); + ulEndianSwap(&x); return fwrite( & x, sizeof(unsigned short), 1, fd ) ; @@ -45,7 +45,7 @@ { if (ulIsLittleEndian) // this is the other way round compared to normally. // obviously, this is because the .rgb format comes from SGI. - _ulEndianSwap(&x); + ulEndianSwap(&x); return fwrite( & x, sizeof(unsigned int), 1, fd ) ; } |