[glib: 1/2] Fix a warning reported by static analyzer tool
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] Fix a warning reported by static analyzer tool
- Date: Thu, 7 Jun 2018 14:44:57 +0000 (UTC)
commit cbde0460188272caaa457a7eed14b90ce8463d19
Author: Gaurav <ya1gaurav gmail com>
Date: Thu Jun 7 13:45:55 2018 +0000
Fix a warning reported by static analyzer tool
gio/thumbnail-verify.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/thumbnail-verify.c b/gio/thumbnail-verify.c
index 44fde6bc7..1a722e40c 100644
--- a/gio/thumbnail-verify.c
+++ b/gio/thumbnail-verify.c
@@ -232,7 +232,7 @@ thumbnail_verify (const char *thumbnail_path,
return FALSE;
expected_info.uri = file_uri;
- expected_info.mtime = file_stat_buf->st_mtime;
+ expected_info.mtime = (guint64) file_stat_buf->st_mtime;
expected_info.size = file_stat_buf->st_size;
file = g_mapped_file_new (thumbnail_path, FALSE, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]