diff options
author | Karlson2k <k2k@narod.ru> | 2013-10-31 20:48:45 +0400 |
---|---|---|
committer | Karlson2k <k2k@narod.ru> | 2013-10-31 20:48:45 +0400 |
commit | 26b92f47da37da5f3eb9c435b76b2e8dbbaaf54e (patch) | |
tree | c7c5b7166dde523f41788d5fa436d7e4d27d0850 | |
parent | d1e9c22579ccb02165dbca8316e0dc09a5761f62 (diff) |
cximage: additional fix for 0e3d1663117cfc6b08081402cfc0104d306ff8acGotham_alpha9
-rw-r--r-- | xbmc/guilib/cximage.cpp | 2 |
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); |