Commit f2166441 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-31129 build failure with RocksDB, incompatible pointer to integer conversion

FreeBSD 13.2
parent a959c22e
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment