Skip to content

Commit

Permalink
Fix a potential number error for 'del_time' field of RepoTrash table.
Browse files Browse the repository at this point in the history
  • Loading branch information
killing committed Sep 21, 2016
1 parent 29b82e6 commit 24158df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/repo-mgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ add_deleted_repo_to_trash (SeafRepoManager *mgr, const char *repo_id,
"string", commit->commit_id,
"string", owner,
"int64", size,
"int64", time(NULL));
"int64", (gint64)time(NULL));
out:
g_free (owner);

Expand Down

0 comments on commit 24158df

Please sign in to comment.