projects
/
xonotic
/
netradiant.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bd87de
)
fix type cast
author
Rudolf Polzer <divverent@alientrap.org>
Mon, 23 Jan 2012 17:18:01 +0000
(18:18 +0100)
committer
Rudolf Polzer <divverent@alientrap.org>
Mon, 23 Jan 2012 17:18:01 +0000
(18:18 +0100)
plugins/imagepng/plugin.cpp
patch
|
blob
|
history
diff --git
a/plugins/imagepng/plugin.cpp
b/plugins/imagepng/plugin.cpp
index
05aea74
..
9d1a3e3
100644
(file)
--- a/
plugins/imagepng/plugin.cpp
+++ b/
plugins/imagepng/plugin.cpp
@@
-87,7
+87,7
@@
Image* LoadPNGBuff (unsigned char* fbuffer)
}
// configure the read function
- png_set_read_fn(png_ptr, (voidp)&p_fbuffer, (png_rw_ptr)&user_read_data);
+ png_set_read_fn(png_ptr, (
png_
voidp)&p_fbuffer, (png_rw_ptr)&user_read_data);
if (setjmp(png_jmpbuf(png_ptr))) {
png_destroy_read_struct(&png_ptr, &info_ptr,