Fix the type conversion error from unsigned int to int. 67/52967/1
authordaemyung jang <dm86.jang@samsung.com>
Mon, 30 Nov 2015 09:23:26 +0000 (18:23 +0900)
committerdaemyung jang <dm86.jang@samsung.com>
Mon, 30 Nov 2015 09:23:26 +0000 (18:23 +0900)
Change-Id: I20b8dfb895c28ff5ace14c006d5d6318afc49e33

platform-abstractions/tizen/image-loaders/loader-bmp.cpp

index 9371b11..2219b31 100644 (file)
@@ -108,7 +108,7 @@ bool LoadBmpHeader(FILE *fp, unsigned int &width, unsigned int &height, BmpFileH
   }
 
   width = infoHeader.width;
-  height = infoHeader.height;
+  height = abs(infoHeader.height);
 
   return true;
 }