From 2d3272182b15ad7dc65bba12bf7534137dc136c7 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Wed, 7 Aug 2013 16:58:40 +0200 Subject: [PATCH] Add correct cast to 64 bit type. --- src/csync_statedb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/csync_statedb.c b/src/csync_statedb.c index bc70f39afe..fa872e8f8a 100644 --- a/src/csync_statedb.c +++ b/src/csync_statedb.c @@ -580,7 +580,7 @@ static int _insert_metadata_visitor(void *obj, void *data) { sqlite3_bind_int( stmt, 5, fs->uid); sqlite3_bind_int( stmt, 6, fs->gid); sqlite3_bind_int( stmt, 7, fs->mode); - sqlite3_bind_int64(stmt, 8, fs->modtime); + sqlite3_bind_int64(stmt, 8, (long long signed int) fs->modtime); sqlite3_bind_int( stmt, 9, fs->type); /* The md5 sum might be zero for directories. They will be investigated in the next