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/jpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jpeg.c') diff --git a/src/jpeg.c b/src/jpeg.c index fb9e0ca5..d6f7cd7a 100644 --- a/src/jpeg.c +++ b/src/jpeg.c @@ -421,6 +421,6 @@ static void Jpeg_write(DilloJpeg *jpeg, void *Buf, uint_t BufSize) void *a_Jpeg_new() { return 0; } void a_Jpeg_callback() { return; } -const char *a_Jpeg_version(void) { return NULL; } +const char *a_Jpeg_version(void) { return 0; } #endif /* ENABLE_JPEG */ -- cgit v1.2.3