mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 09:58:03 +02:00
Chore: siliences more compiler warnings
This commit is contained in:
@@ -392,12 +392,15 @@ static bool compressBlob(void** blob, size_t* length) {
|
||||
|
||||
#endif // FF_HAVE_ZLIB
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wimplicit-int-float-conversion"
|
||||
// We use only the defines from here, that are exactly the same in both versions
|
||||
#ifdef FF_HAVE_IMAGEMAGICK7
|
||||
#include <MagickCore/MagickCore.h>
|
||||
#else
|
||||
#include <magick/MagickCore.h>
|
||||
#endif
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
typedef struct ImageData {
|
||||
FF_LIBRARY_SYMBOL(CopyMagickString)
|
||||
|
||||
Reference in New Issue
Block a user