From 82fd9293bb1f267a9c1ad07f7458dac826ff8771 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Wed, 9 Oct 2013 11:55:39 -0400 Subject: [PATCH] bugfix: wrong integer type but it does not really matter --- kthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kthread.c b/kthread.c index 7df20e2..8260db0 100644 --- a/kthread.c +++ b/kthread.c @@ -81,7 +81,7 @@ typedef struct ktf_worker_t { int i; } ktf_worker_t; -static inline uint64_t steal_work(kt_for_t *f) // steal work from the worker with the highest load +static inline int steal_work(kt_for_t *f) // steal work from the worker with the highest load { int i, max = -1, max_i = -1, k = -1; for (i = 0; i < f->n; ++i) -- 2.47.3