forked from lix-project/lix
Fix some signedness warnings
This commit is contained in:
parent
94595f42eb
commit
9aac1861f7
|
@ -1374,7 +1374,7 @@ static void prim_genList(EvalState & state, const Pos & pos, Value * * args, Val
|
||||||
|
|
||||||
state.mkList(v, len);
|
state.mkList(v, len);
|
||||||
|
|
||||||
for (unsigned int n = 0; n < len; ++n) {
|
for (unsigned int n = 0; n < (unsigned int) len; ++n) {
|
||||||
Value * arg = state.allocValue();
|
Value * arg = state.allocValue();
|
||||||
mkInt(*arg, n);
|
mkInt(*arg, n);
|
||||||
mkApp(*(v.listElems()[n] = state.allocValue()), *args[0], *arg);
|
mkApp(*(v.listElems()[n] = state.allocValue()), *args[0], *arg);
|
||||||
|
|
|
@ -3731,7 +3731,7 @@ void Worker::waitForInput()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!waitingForAWhile.empty() && lastWokenUp + settings.pollInterval <= after) {
|
if (!waitingForAWhile.empty() && lastWokenUp + (time_t) settings.pollInterval <= after) {
|
||||||
lastWokenUp = after;
|
lastWokenUp = after;
|
||||||
for (auto & i : waitingForAWhile) {
|
for (auto & i : waitingForAWhile) {
|
||||||
GoalPtr goal = i.lock();
|
GoalPtr goal = i.lock();
|
||||||
|
|
Loading…
Reference in a new issue