Author: post
Date: 2009-08-27 20:47:01 +0200 (Thu, 27 Aug 2009)
New Revision: 124

Modified:
   RawSpeed/TiffEntry.cpp
Log:
Fixed cosmetic order of unsigned/const

Modified: RawSpeed/TiffEntry.cpp
===================================================================
--- RawSpeed/TiffEntry.cpp      2009-08-27 18:44:33 UTC (rev 123)
+++ RawSpeed/TiffEntry.cpp      2009-08-27 18:47:01 UTC (rev 124)
@@ -72,13 +72,13 @@
   return *(unsigned short*)&data[0];
 }
 
-unsigned const int* TiffEntry::getIntArray() {
+const unsigned int* TiffEntry::getIntArray() {
   if (type != TIFF_LONG && type != TIFF_RATIONAL && type != TIFF_SRATIONAL)
     throw TiffParserException("TIFF, getIntArray: Wrong type encountered. 
Expected Long");
   return (unsigned int*)&data[0];
 }
 
-unsigned const short* TiffEntry::getShortArray() {
+const unsigned short* TiffEntry::getShortArray() {
   if (type != TIFF_SHORT)
     throw TiffParserException("TIFF, getShortArray: Wrong type encountered. 
Expected Short");
   return (unsigned short*)&data[0];


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to