summaryrefslogtreecommitdiff
blob: 15b93c8d42d26d3ec47273dac4dea9292b7aa4ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 5f1400c3f5b044a1fd23dab0b58a4716e203b753 Mon Sep 17 00:00:00 2001
From: Igor Ulyanov <disinbox@gmail.com>
Date: Sun, 20 Jan 2013 23:00:11 +0400
Subject: [PATCH] voidp

---
 src/image-reader.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/image-reader.cpp b/src/image-reader.cpp
index 58407bc..2f33539 100644
--- a/src/image-reader.cpp
+++ b/src/image-reader.cpp
@@ -146,7 +146,7 @@ PNGReader::init(const std::string& filename)
     }
 
     /* Read the image information and data */
-    png_set_read_fn(priv_->png, reinterpret_cast<voidp>(is_ptr.get()),
+    png_set_read_fn(priv_->png, reinterpret_cast<void*>(is_ptr.get()),
                     PNGReaderPrivate::png_read_fn);
 
     png_read_png(priv_->png, priv_->info, png_transforms, 0);
-- 
1.8.0