From 245cc734526c64b211c8b5f7b43514fdbddada80 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 27 Apr 2015 12:47:39 +0200 Subject: [PATCH] MDEV-7434 XtraDB does not build on Solaris --- storage/xtradb/include/os0sync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/xtradb/include/os0sync.h b/storage/xtradb/include/os0sync.h index 48b477d45a9..ab7e8ba4b84 100644 --- a/storage/xtradb/include/os0sync.h +++ b/storage/xtradb/include/os0sync.h @@ -403,7 +403,7 @@ amount of increment. */ atomic_add_long_nv(ptr, amount) # define os_atomic_increment_uint64(ptr, amount) \ - atomic_add_64_nv(ptr, amount) + atomic_add_64_nv((uint64_t *) ptr, amount) /**********************************************************//** Returns the old value of *ptr, atomically sets *ptr to new_val */