Repository: lucy Updated Branches: refs/heads/master 94c6aa2ea -> 8193b73ef
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/2748bb85 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/2748bb85 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/2748bb85 Branch: refs/heads/master Commit: 2748bb85e41f8431f77667eb70aeef83b0712f55 Parents: 94c6aa2 Author: Nick Wellnhofer <[email protected]> Authored: Fri Mar 25 11:25:09 2016 +0100 Committer: Nick Wellnhofer <[email protected]> Committed: Fri Mar 25 11:31:05 2016 +0100 ---------------------------------------------------------------------- core/Lucy/Store/Lock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/2748bb85/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; }
