X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Freaders%2Fimage.c;fp=lib%2Freaders%2Fimage.c;h=b8f9a353af221866f2ff71d5e6502777dcdde911;hp=7457a4e9c74f360c7be2c9b6c139508dff6cc416;hb=5a4a20931aade60f0e99df0819fbd1c007a705da;hpb=3583bb178b85790e8459da31ef69f852e3d8c05f diff --git a/lib/readers/image.c b/lib/readers/image.c index 7457a4e..b8f9a35 100644 --- a/lib/readers/image.c +++ b/lib/readers/image.c @@ -126,8 +126,8 @@ static gfxdocument_t*image_open(gfxsource_t*src, const char*filename) memset(i, 0, sizeof(image_doc_internal_t)); gfxcolor_t*data = 0; - int width = 0; - int height = 0; + unsigned width = 0; + unsigned height = 0; if(!getPNG(filename, &width, &height, (unsigned char**)&data)) { if(!jpeg_load(filename, (unsigned char**)&data, &width, &height)) {