summaryrefslogtreecommitdiff
path: root/graphics/pixieplus/patches/patch-af
blob: acd0089ec7df008b38f6840619364b0d12601da0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.1 2005/11/14 08:42:44 markd Exp $

--- app/imageheaders.cpp.orig	2005-11-14 20:44:06.000000000 +1300
+++ app/imageheaders.cpp
@@ -90,7 +90,7 @@ bool checkTIFFThumbnail(const char *file
         if(TIFFSetDirectory(t, thumbDir)){
             TIFFGetField(t, TIFFTAG_IMAGELENGTH, &height);
             img.create(minWidth, height, 32);
-            if(!TIFFReadRGBAImage(t, minWidth, height, (unsigned long*)
+            if(!TIFFReadRGBAImage(t, minWidth, height, (uint32*)
                                   img.bits(), 0))
                 img.reset();
             else{