Permalink
Browse files

TestUtils.cpp: fix: add .c_str() to CSpecialProtocol::TranslatePath()

  • Loading branch information...
1 parent 778b92e commit 7cb2f01504fa8d0e5f695590db69500e3812210e @Karlson2k Karlson2k committed Jul 23, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/test/TestUtils.cpp
@@ -56,7 +56,7 @@ class CTempFile : public XFILE::CFile
strcpy(tmp, m_ptempFilePath.c_str());
#ifdef TARGET_WINDOWS
- if (!GetTempFileName(CSpecialProtocol::TranslatePath("special://temp/"),
+ if (!GetTempFileName(CSpecialProtocol::TranslatePath("special://temp/").c_str(),
"xbmctempfile", 0, tmp))
{
m_ptempFilePath = "";

0 comments on commit 7cb2f01

Please sign in to comment.