diff options
Diffstat (limited to 'storage/rocksdb/ut0counter.h')
-rw-r--r-- | storage/rocksdb/ut0counter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/rocksdb/ut0counter.h b/storage/rocksdb/ut0counter.h index 7b1885810c3..5267508faba 100644 --- a/storage/rocksdb/ut0counter.h +++ b/storage/rocksdb/ut0counter.h @@ -61,7 +61,7 @@ struct get_sched_indexer_t : public generic_indexer_t<Type, N> { size_t cpu = sched_getcpu(); if (cpu == (size_t) -1) { - cpu = get_curr_thread_id(); + cpu = (size_t) get_curr_thread_id(); } return(cpu); |