From 441eded3eb728c7f7d9f3d79478f91d8fc7befa9 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 11 Aug 2017 19:46:31 +0300 Subject: [PATCH] fix compilation warning --- _webp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_webp.c b/_webp.c index 421f49957..3ba8fcb9a 100644 --- a/_webp.c +++ b/_webp.c @@ -247,7 +247,7 @@ PyObject* WebPDecoderVersion_wrapper(PyObject* self, PyObject* args){ * The version of webp that ships with (0.1.3) Ubuntu 12.04 doesn't handle alpha well. * Files that are valid with 0.3 are reported as being invalid. */ -int WebPDecoderBuggyAlpha() { +int WebPDecoderBuggyAlpha(void) { return WebPGetDecoderVersion()==0x0103; }