From 008147e8056f31bcc71da0158e2593e088ffec6d Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Mon, 10 Jun 2013 12:56:17 +0200 Subject: mingw64: use the sal formatting strings in store Change-Id: Id6b8f4ed6df14bd80a7937001ec1cfb98acd7f52 --- store/source/storbase.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/source/storbase.cxx b/store/source/storbase.cxx index ef3353ffb945..1c5b22bb7581 100644 --- a/store/source/storbase.cxx +++ b/store/source/storbase.cxx @@ -127,7 +127,7 @@ PageData::Allocator_Impl::initialize (sal_uInt16 nPageSize) { char name[RTL_CACHE_NAME_LENGTH + 1]; sal_Size size = sal::static_int_cast< sal_Size >(nPageSize); - (void) snprintf (name, sizeof(name), "store_page_alloc_%lu", size); + (void) snprintf (name, sizeof(name), "store_page_alloc_%" SAL_PRIuUINTPTR, size); m_page_cache = rtl_cache_create (name, size, 0, 0, 0, 0, 0, 0, 0); if (!m_page_cache) -- cgit