Fix a compiler warning

This commit is contained in:
Přemysl Eric Janouch 2022-01-13 23:42:17 +01:00
parent 13ae4810ca
commit 6a1278786c
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -20,6 +20,7 @@
#include <cairo.h> #include <cairo.h>
#include <gio/gio.h> #include <gio/gio.h>
#include <glib.h> #include <glib.h>
#include <webp/encode.h> // WebPConfig
// --- Colour management ------------------------------------------------------- // --- Colour management -------------------------------------------------------
@ -103,8 +104,6 @@ GPtrArray *fiv_io_model_get_subdirectories(FivIoModel *self);
// --- Export ------------------------------------------------------------------ // --- Export ------------------------------------------------------------------
typedef struct WebPConfig WebPConfig;
/// Encodes a Cairo surface as a WebP bitstream, following the configuration. /// Encodes a Cairo surface as a WebP bitstream, following the configuration.
/// The result needs to be freed using WebPFree/WebPDataClear(). /// The result needs to be freed using WebPFree/WebPDataClear().
unsigned char *fiv_io_encode_webp( unsigned char *fiv_io_encode_webp(