summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-sb
blob: c719ce4bef9827056dbe80db6ed01c70b7b468f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-sb,v 1.1 2007/11/14 15:41:41 rillig Exp $

--- src/af/util/xp/ut_png.cpp.orig	2005-01-07 20:44:09.000000000 +0100
+++ src/af/util/xp/ut_png.cpp	2007-11-14 14:26:59.534916000 +0100
@@ -84,7 +84,7 @@ bool UT_PNG_getDimensions(const UT_ByteB
 	myBB.pBB = pBB;
 	myBB.iCurPos = 0;
 	
-	png_set_read_fn(png_ptr, static_cast<void *>(&myBB), static_cast<png_rw_ptr>(_png_read));
+	png_set_read_fn(png_ptr, static_cast<void *>(&myBB), _png_read);
 
 	/* The call to png_read_info() gives us all of the information from the
 	 * PNG file before the first IDAT (image data chunk).  REQUIRED