|
|
| version 1.2, 2003/11/21 06:51:10 | version 1.3, 2004/06/21 14:29:22 |
|---|---|
| Line 107 BOOL bmpdata_getinfo(const BMPINFO *bi, | Line 107 BOOL bmpdata_getinfo(const BMPINFO *bi, |
| if (tmp != 0) { | if (tmp != 0) { |
| goto bdgi_err; | goto bdgi_err; |
| } | } |
| width = LOADINTELDWORD(bi->biWidth); | width = (SINT32)LOADINTELDWORD(bi->biWidth); |
| height = LOADINTELDWORD(bi->biHeight); | height = (SINT32)LOADINTELDWORD(bi->biHeight); |
| if ((width <= 0) || (height == 0)) { | if ((width <= 0) || (height == 0)) { |
| goto bdgi_err; | goto bdgi_err; |
| } | } |