8000 cast · cloud-coders/arangodb@12aadb0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 12aadb0

Browse files
author
Jan Steemann
committed
cast
1 parent 34e16f4 commit 12aadb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Scheduler/Scheduler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ int Scheduler::registerTask (Task* task, ssize_t* got, ssize_t want) {
493493
}
494494

495495
if (nullptr != got) {
496-
*got = n;
496+
*got = static_cast<ssize_t>(n);
497497
}
498498

499499
thread = threads[n];

0 commit comments

Comments
 (0)
0