--- a/xbmc/Settings.cpp
+++ b/xbmc/Settings.cpp
@@ -1863,7 +1863,7 @@
 {
   if (m_currentProfile < m_vecProfiles.size())
     return m_vecProfiles[m_currentProfile];
-  CLog::Log(LOGERROR, "%s - last profile index (%u) is outside the valid range (%zu)", __FUNCTION__, m_currentProfile, m_vecProfiles.size());
+  CLog::Log(LOGERROR, "%s - last profile index (%u) is outside the valid range (%" PRIdS ")", __FUNCTION__, m_currentProfile, m_vecProfiles.size());
   return emptyProfile;
 }