Fixed compilation error on Windows.
BUG= TEST= Review URL: https://webrtc-codereview.appspot.com/389007 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1670 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
8224e19dd9
commit
dbe1e13b53
@ -15,7 +15,10 @@ class FileTest : public AfterStreamingFixture {
|
|||||||
protected:
|
protected:
|
||||||
// Creates the string åäö.pcm.
|
// Creates the string åäö.pcm.
|
||||||
std::string CreateTrickyFilenameInUtf8() {
|
std::string CreateTrickyFilenameInUtf8() {
|
||||||
char filename[16] = { 0xc3, 0xa5, 0xc3, 0xa4, 0xc3, 0xb6, 0 };
|
char filename[16] = { static_cast<char>(0xc3), static_cast<char>(0xa5),
|
||||||
|
static_cast<char>(0xc3), static_cast<char>(0xa4),
|
||||||
|
static_cast<char>(0xc3), static_cast<char>(0xb6),
|
||||||
|
static_cast<char>(0) };
|
||||||
return std::string(filename) + ".pcm";
|
return std::string(filename) + ".pcm";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user