summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/image.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/image.cc b/plugingui/image.cc
index e4f7391..32994b6 100644
--- a/plugingui/image.cc
+++ b/plugingui/image.cc
@@ -82,7 +82,7 @@ void GUI::Image::load(const char* data, size_t size)
const char *header = data;
// test for it being a png:
- if(png_sig_cmp((const png_byte*)header, 0, 8)) {
+ if(png_sig_cmp((png_byte*)header, 0, 8)) {
abort_("[read_png_file] File is not recognized as a PNG file");
}