Repository: lucy Updated Branches: refs/heads/0.5 6ca063705 -> 4ad771ceb
Fix wrong vararg type in LFLock_init This only results in random junk in a tempfile name, so probably harmless. Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/06e91814 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/06e91814 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/06e91814 Branch: refs/heads/0.5 Commit: 06e918146a0f42830c8e2295e2a8f84589ddd4c9 Parents: 6ca0637 Author: Nick Wellnhofer <wellnho...@aevum.de> Authored: Fri Mar 25 11:25:09 2016 +0100 Committer: Nick Wellnhofer <wellnho...@aevum.de> Committed: Tue Apr 5 11:49:16 2016 +0200 ---------------------------------------------------------------------- core/Lucy/Store/Lock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/06e91814/core/Lucy/Store/Lock.c ---------------------------------------------------------------------- diff --git a/core/Lucy/Store/Lock.c b/core/Lucy/Store/Lock.c index 40b9704..20bffe2 100644 --- a/core/Lucy/Store/Lock.c +++ b/core/Lucy/Store/Lock.c @@ -124,7 +124,8 @@ LFLock_init(LockFileLock *self, Folder *folder, String *name, int pid = PID_getpid(); Lock_init((Lock*)self, folder, name, host, timeout, interval); LockFileLockIVARS *const ivars = LFLock_IVARS(self); - ivars->link_path = Str_newf("%o.%o.%i64", ivars->lock_path, host, pid); + ivars->link_path = Str_newf("%o.%o.%i64", ivars->lock_path, host, + (int64_t)pid); return self; }