Fix printf argument for win32 platform.

This commit is contained in:
Klaas Freitag 2012-08-30 17:01:52 +03:00
parent caa1945daa
commit 08f7fbbd71

View file

@ -498,7 +498,9 @@ char *csync_statedb_get_uniqId( CSYNC *ctx, uint64_t jHash, csync_vio_file_stat_
c_strlist_t *result = NULL;
char *stmt = NULL;
stmt = sqlite3_mprintf("SELECT md5 FROM metadata WHERE phash='%llu' AND modtime=%llu", jHash, buf->mtime);
stmt = sqlite3_mprintf("SELECT md5 FROM metadata WHERE phash='%llu' AND modtime=%lu", jHash, buf->mtime);
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "STATEMENT: %s", stmt);
result = csync_statedb_query(ctx, stmt);
sqlite3_free(stmt);
if (result == NULL) {