From 26b92f47da37da5f3eb9c435b76b2e8dbbaaf54e Mon Sep 17 00:00:00 2001 From: Karlson2k Date: Thu, 31 Oct 2013 20:48:45 +0400 Subject: cximage: additional fix for 0e3d1663117cfc6b08081402cfc0104d306ff8ac --- xbmc/guilib/cximage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/guilib/cximage.cpp b/xbmc/guilib/cximage.cpp index 0c792818c5..b1c9234e79 100644 --- a/xbmc/guilib/cximage.cpp +++ b/xbmc/guilib/cximage.cpp @@ -46,7 +46,7 @@ bool CXImage::LoadImageFromMemory(unsigned char* buffer, unsigned int bufSize, u memset(&m_image, 0, sizeof(m_image)); std::string strExt = m_strMimeType; - int nPos = strExt.find_first_of('/'); + size_t nPos = strExt.find('/'); if (nPos != std::string::npos) strExt.erase(0, nPos + 1); -- cgit v1.2.3