You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2016/05/31 20:01:18 UTC
[14/17] lucy git commit: Harmless sign cast in Lock.
Harmless sign cast in Lock.
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/25747a23
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/25747a23
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/25747a23
Branch: refs/heads/master
Commit: 25747a2397193882595667b4cba0a6d42658669d
Parents: 9b7e53f
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Thu May 26 20:05:12 2016 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Thu May 26 20:11:30 2016 -0700
----------------------------------------------------------------------
core/Lucy/Store/Lock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/25747a23/core/Lucy/Store/Lock.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Store/Lock.c b/core/Lucy/Store/Lock.c
index 20bffe2..9d86ae9 100644
--- a/core/Lucy/Store/Lock.c
+++ b/core/Lucy/Store/Lock.c
@@ -101,7 +101,7 @@ Lock_Obtain_IMP(Lock *self) {
while (!locked) {
time_left -= ivars->interval;
if (time_left <= 0) { break; }
- Sleep_millisleep(ivars->interval);
+ Sleep_millisleep((uint32_t)ivars->interval);
locked = Lock_Request(self);
}