Skip to content

Commit f216644

Browse files
committed
MDEV-31129 build failure with RocksDB, incompatible pointer to integer conversion
FreeBSD 13.2
1 parent a959c22 commit f216644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/rocksdb/ut0counter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ struct get_sched_indexer_t : public generic_indexer_t<Type, N> {
6161

6262
size_t cpu = sched_getcpu();
6363
if (cpu == (size_t) -1) {
64-
cpu = get_curr_thread_id();
64+
cpu = (size_t) get_curr_thread_id();
6565
}
6666

6767
return(cpu);

0 commit comments

Comments
 (0)