Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the way we format file sizes (thanks to thedroid)

  • Loading branch information...
commit 1ce2c4a1c22db48b2bcdb518d1c07b6079f4bd0e 1 parent 702a011
@elan elan authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/lib/libGoAhead/XBMChttp.cpp
View
4 xbmc/lib/libGoAhead/XBMChttp.cpp
@@ -1429,7 +1429,7 @@ int CXbmcHttp::xbmcGetCurrentlyPlaying(int numParas, CStdString paras[])
fileItem.m_dwSize = fileSize(fileItem.m_strPath);
if (fileItem.m_dwSize)
{
- tmp.Format("%I64d",fileItem.m_dwSize);
+ tmp.Format(PRId64,fileItem.m_dwSize);
output+=closeTag+openTag+"File size:"+tmp;
}
if (changed)
@@ -2331,7 +2331,7 @@ int CXbmcHttp::xbmcFileSize(int numParas, CStdString paras[])
if (filesize>-1)
{
CStdString tmp;
- tmp.Format("%I64d",filesize);
+ tmp.Format(PRId64,filesize);
return SetResponse(openTag+tmp);
}
else
Please sign in to comment.
Something went wrong with that request. Please try again.