mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +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
|
static void
|
||||||
get_thumbnail_attributes (const char *path,
|
get_thumbnail_attributes (const char *path,
|
||||||
GFileInfo *info,
|
GFileInfo *info,
|
||||||
const GStatBuf *stat_buf)
|
const GLocalFileStat *stat_buf)
|
||||||
{
|
{
|
||||||
GChecksum *checksum;
|
GChecksum *checksum;
|
||||||
char *uri;
|
char *uri;
|
||||||
|
@ -224,7 +224,7 @@ out:
|
|||||||
gboolean
|
gboolean
|
||||||
thumbnail_verify (const char *thumbnail_path,
|
thumbnail_verify (const char *thumbnail_path,
|
||||||
const gchar *file_uri,
|
const gchar *file_uri,
|
||||||
const GStatBuf *file_stat_buf)
|
const GLocalFileStat *file_stat_buf)
|
||||||
{
|
{
|
||||||
gboolean thumbnail_is_valid = FALSE;
|
gboolean thumbnail_is_valid = FALSE;
|
||||||
ExpectedInfo expected_info;
|
ExpectedInfo expected_info;
|
||||||
|
@ -23,9 +23,10 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <gstdio.h>
|
#include <gstdio.h>
|
||||||
|
#include "glocalfileinfo.h"
|
||||||
|
|
||||||
gboolean thumbnail_verify (const gchar *thumbnail_path,
|
gboolean thumbnail_verify (const gchar *thumbnail_path,
|
||||||
const gchar *file_uri,
|
const gchar *file_uri,
|
||||||
const GStatBuf *file_stat_buf);
|
const GLocalFileStat *file_stat_buf);
|
||||||
|
|
||||||
#endif /* _thumbnail_verify_h_ */
|
#endif /* _thumbnail_verify_h_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user