diff options
author | Sergei Golubchik <serg@mariadb.org> | 2023-04-27 10:31:50 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2023-04-27 15:49:20 +0200 |
commit | f21664414da8c4cf26daf5cad012dc0aca028602 (patch) | |
tree | 9b714eca09475ad25927f984366d16a3378ccc8e | |
parent | a959c22e7fbbac9c19cc9e1dfb18284bf7c67046 (diff) | |
download | mariadb-git-f21664414da8c4cf26daf5cad012dc0aca028602.tar.gz |
MDEV-31129 build failure with RocksDB, incompatible pointer to integer conversion
FreeBSD 13.2
-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 3a7ee85d01c..99134ebd3f4 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); |