aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-04-18 09:29:38 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-04-18 09:29:38 +0000
commitd696272192e69a7c7c48fd8686886d3c00b1d40c (patch)
tree47c08cd3cc9487450ae7f5f3f9f75ee4d390cc05 /plugin
parentf7544bcd10599ba3204bd483b398df342f15e7d1 (diff)
made workaround for 64-bit time_t on win32.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3391 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'plugin')
-rw-r--r--plugin/attachment_tool/attachment_tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/attachment_tool/attachment_tool.c b/plugin/attachment_tool/attachment_tool.c
index b7a324e4..de299a21 100644
--- a/plugin/attachment_tool/attachment_tool.c
+++ b/plugin/attachment_tool/attachment_tool.c
@@ -228,7 +228,7 @@ static gboolean remove_attachment(MsgInfo *msginfo)
if (!err) {
debug_print("overwriting original message file: %s\n", infile);
if (copy_file(outfile, infile, FALSE) == 0) {
- struct stat s;
+ GStatBuf s;
if (g_stat(infile, &s) == 0) {
msginfo->size = s.st_size;
msginfo->mtime = s.st_mtime;