summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--store/source/storbase.cxx2
1 files changed, 1 insertions, 1 deletions
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)