aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/guilib/cximage.cpp2
1 files changed, 1 insertions, 1 deletions
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);