include/o3tl/cow_wrapper.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5a7dbe1ec161a5683086d22ec13506396dcdddda Author: Thorsten Behrens <[email protected]> Date: Mon Sep 19 01:46:10 2016 +0200 o3tl: refcounts should be native platform int width Change-Id: I19854d85b680612733557c42ee58b35adb5ea4c3 Reviewed-on: https://gerrit.libreoffice.org/29002 Reviewed-by: Thorsten Behrens <[email protected]> Tested-by: Thorsten Behrens <[email protected]> diff --git a/include/o3tl/cow_wrapper.hxx b/include/o3tl/cow_wrapper.hxx index 7e9c3af..425a166 100644 --- a/include/o3tl/cow_wrapper.hxx +++ b/include/o3tl/cow_wrapper.hxx @@ -34,7 +34,7 @@ namespace o3tl */ struct UnsafeRefCountingPolicy { - typedef sal_uInt32 ref_count_t; + typedef sal_Size ref_count_t; static void incrementCount( ref_count_t& rCount ) { ++rCount; } static bool decrementCount( ref_count_t& rCount ) { return --rCount != 0; } }; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
