mingw64: use the sal formatting strings in store
Change-Id: Id6b8f4ed6df14bd80a7937001ec1cfb98acd7f52
This commit is contained in:
parent
583a5c090a
commit
008147e805
@ -127,7 +127,7 @@ PageData::Allocator_Impl::initialize (sal_uInt16 nPageSize)
|
|||||||
{
|
{
|
||||||
char name[RTL_CACHE_NAME_LENGTH + 1];
|
char name[RTL_CACHE_NAME_LENGTH + 1];
|
||||||
sal_Size size = sal::static_int_cast< sal_Size >(nPageSize);
|
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);
|
m_page_cache = rtl_cache_create (name, size, 0, 0, 0, 0, 0, 0, 0);
|
||||||
if (!m_page_cache)
|
if (!m_page_cache)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user