New attempt.

BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/391006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1672 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
phoglund@webrtc.org 2012-02-10 15:21:33 +00:00
parent dbe1e13b53
commit 292da24166

View File

@ -15,9 +15,9 @@ class FileTest : public AfterStreamingFixture {
protected: protected:
// Creates the string åäö.pcm. // Creates the string åäö.pcm.
std::string CreateTrickyFilenameInUtf8() { std::string CreateTrickyFilenameInUtf8() {
char filename[16] = { static_cast<char>(0xc3), static_cast<char>(0xa5), char filename[16] = { (char)0xc3, (char)0xa5,
static_cast<char>(0xc3), static_cast<char>(0xa4), (char)0xc3, (char)0xa4,
static_cast<char>(0xc3), static_cast<char>(0xb6), (char)0xc3, (char)0xb6,
static_cast<char>(0) }; static_cast<char>(0) };
return std::string(filename) + ".pcm"; return std::string(filename) + ".pcm";
} }