summaryrefslogtreecommitdiff
path: root/sal/rtl/alloc_global.cxx
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-10 12:44:57 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-10 14:03:33 +0200
commit094560c29fed9b0b58505717c4e6694ad9ff8a69 (patch)
tree40c1a253fdc35d171f474f9e4262a4e4b611b417 /sal/rtl/alloc_global.cxx
parent44feea1957f6f3ff28917625223e610fe2807c49 (diff)
mingw64: casting to pointer from narrower integer fixes in sal
Change-Id: I63321e33f92223be47c7ee25dbf03fe3032991d6
Diffstat (limited to 'sal/rtl/alloc_global.cxx')
-rw-r--r--sal/rtl/alloc_global.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/alloc_global.cxx b/sal/rtl/alloc_global.cxx
index ab571c663631..8194b1346908 100644
--- a/sal/rtl/alloc_global.cxx
+++ b/sal/rtl/alloc_global.cxx
@@ -210,7 +210,7 @@ void rtl_memory_init()
for (i = 0; i < n; i++)
{
char name[RTL_CACHE_NAME_LENGTH + 1];
- (void) snprintf (name, sizeof(name), "rtl_alloc_%lu", g_alloc_sizes[i]);
+ (void) snprintf (name, sizeof(name), "rtl_alloc_%" SAL_PRIuUINTPTR, g_alloc_sizes[i]);
g_alloc_caches[i] = rtl_cache_create (name, g_alloc_sizes[i], 0, NULL, NULL, NULL, NULL, NULL, 0);
}