summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2013-07-07 10:52:38 +0200
committerPetr Mladek <pmladek@suse.cz>2013-07-09 10:10:39 +0000
commit1a44cf5f6d5a8da224a2e10febaf5b9c989eb9f3 (patch)
treece86ca8be2e21192ecc7618d65be9471f6b39d84 /store
parentd37df8a7e1212560e896620b6fb5abb9db250306 (diff)
Remove warning by using the right printf commands
Change-Id: Id476a0eb1f5965098c8cc2e2847547b1d23387eb Reviewed-on: https://gerrit.libreoffice.org/4753 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'store')
-rw-r--r--store/source/storcach.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/store/source/storcach.cxx b/store/source/storcach.cxx
index e2ac68b68dc5..2b10ad496263 100644
--- a/store/source/storcach.cxx
+++ b/store/source/storcach.cxx
@@ -365,7 +365,7 @@ PageCache_Impl::~PageCache_Impl()
m_hash_size = theTableSize;
m_hash_shift = highbit(m_hash_size) - 1;
}
- OSL_TRACE("Hits: %u, Misses: %u", m_nHit, m_nMissed);
+ OSL_TRACE("Hits: %zu, Misses: %zu", m_nHit, m_nMissed);
}
oslInterlockedCount PageCache_Impl::acquire()
@@ -388,7 +388,7 @@ void PageCache_Impl::rescale_Impl (sal_Size new_size)
Entry ** old_table = m_hash_table;
sal_Size old_size = m_hash_size;
- OSL_TRACE("ave chain length: %u, total entries: %u [old_size: %u, new_size: %u]",
+ OSL_TRACE("ave chain length: %zu, total entries: %zu [old_size: %zu new_size: %zu]",
m_hash_entries >> m_hash_shift, m_hash_entries, old_size, new_size);
memset (new_table, 0, new_bytes);