mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
win32: silence build warning
glocalfileinfo.c: In function '_g_local_file_info_get': glocalfileinfo.c:1955:11: warning: passing argument 3 of 'get_thumbnail_attributes' from incompatible pointer type [enabled by default] get_thumbnail_attributes (path, info, &statbuf); ^ glocalfileinfo.c:1285:1: note: expected 'const struct GStatBuf *' but argument is of type 'struct _stati64 *' get_thumbnail_attributes (const char *path, https://bugzilla.gnome.org/show_bug.cgi?id=711547
This commit is contained in:
parent
b4474c0b6b
commit
2873b3c20c
@ -1283,7 +1283,7 @@ get_content_type (const char *basename,
|
||||
static void
|
||||
get_thumbnail_attributes (const char *path,
|
||||
GFileInfo *info,
|
||||
const GStatBuf *stat_buf)
|
||||
const GLocalFileStat *stat_buf)
|
||||
{
|
||||
GChecksum *checksum;
|
||||
char *uri;
|
||||
|
@ -224,7 +224,7 @@ out:
|
||||
gboolean
|
||||
thumbnail_verify (const char *thumbnail_path,
|
||||
const gchar *file_uri,
|
||||
const GStatBuf *file_stat_buf)
|
||||
const GLocalFileStat *file_stat_buf)
|
||||
{
|
||||
gboolean thumbnail_is_valid = FALSE;
|
||||
ExpectedInfo expected_info;
|
||||
|
@ -23,9 +23,10 @@
|
||||
|
||||
#include <glib.h>
|
||||
#include <gstdio.h>
|
||||
#include "glocalfileinfo.h"
|
||||
|
||||
gboolean thumbnail_verify (const gchar *thumbnail_path,
|
||||
const gchar *file_uri,
|
||||
const GStatBuf *file_stat_buf);
|
||||
const GLocalFileStat *file_stat_buf);
|
||||
|
||||
#endif /* _thumbnail_verify_h_ */
|
||||
|
Loading…
Reference in New Issue
Block a user