From 38acbf15b8acb286315c7eda5acf63f4cf471be1 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Sun, 24 Nov 2024 18:40:52 +0100 Subject: Fix undefined NULL with image support disabled --- src/webp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webp.c') diff --git a/src/webp.c b/src/webp.c index bd0ad88d..77e6c7cf 100644 --- a/src/webp.c +++ b/src/webp.c @@ -215,6 +215,6 @@ void *a_Webp_new(DilloImage *Image, DilloUrl *url, int version) void *a_Webp_new() { return 0; } void a_Webp_callback() { return; } -const char *a_Webp_version(char *buf, int n) { return NULL; } +const char *a_Webp_version(char *buf, int n) { return 0; } #endif /* ENABLE_WEBP */ -- cgit v1.2.3