Fix a warning reported by static analyzer tool

This commit is contained in:
Gaurav 2018-06-07 13:45:55 +00:00
parent 73e28ed297
commit cbde046018

View File

@ -232,7 +232,7 @@ thumbnail_verify (const char *thumbnail_path,
return FALSE; return FALSE;
expected_info.uri = file_uri; 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; expected_info.size = file_stat_buf->st_size;
file = g_mapped_file_new (thumbnail_path, FALSE, NULL); file = g_mapped_file_new (thumbnail_path, FALSE, NULL);