Date: Fri, 20 Jan 2017 22:20:40 +0000 (UTC) From: Mikolaj Golub <trociny@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432002 - head/databases/leofs/files Message-ID: <201701202220.v0KMKekm069772@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trociny Date: Fri Jan 20 22:20:40 2017 New Revision: 432002 URL: https://svnweb.freebsd.org/changeset/ports/432002 Log: fix build on i386 Added: head/databases/leofs/files/patch-deps-eleveldb-c_src-leveldb-util-perf_count.cc (contents, props changed) Added: head/databases/leofs/files/patch-deps-eleveldb-c_src-leveldb-util-perf_count.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/leofs/files/patch-deps-eleveldb-c_src-leveldb-util-perf_count.cc Fri Jan 20 22:20:40 2017 (r432002) @@ -0,0 +1,30 @@ +--- deps/eleveldb/c_src/leveldb/util/perf_count.cc.orig 2017-01-08 11:38:09.374810000 +0200 ++++ deps/eleveldb/c_src/leveldb/util/perf_count.cc 2017-01-21 00:09:02.610066000 +0200 +@@ -360,11 +360,11 @@ + uint32_t ret_32, * ptr_32; + + ptr_32=(uint32_t *)&val_ptr; +- ret_32=inc_and_fetch(ptr_32, 1); ++ ret_32=inc_and_fetch(ptr_32); + if (0==ret_32) + { + ++ptr_32; +- inc_and_fetch(ptr_32, 1); ++ inc_and_fetch(ptr_32); + } // if + #endif + ret_val=*val_ptr; +@@ -432,11 +432,11 @@ + + ptr_32=(uint32_t *)&val_ptr; + old_32=*ptr_32; +- ret_32=add_and_fetch(ptr_32, Amount); ++ ret_32=add_and_fetch(ptr_32, (uint32_t)Amount); + if (ret_32<old_32) + { + ++ptr_32; +- add_and_fetch(ptr_32, 1); ++ add_and_fetch(ptr_32, (uint32_t)1); + } // if + + ret_val=*val_ptr;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701202220.v0KMKekm069772>