Fix travis build.

This commit is contained in:
hiker 2015-03-30 11:50:12 +11:00
parent 8d07d26c25
commit 9cb862f708

View File

@ -321,7 +321,7 @@ const wchar_t* Translations::fribidize(const wchar_t* in_ptr)
#endif
FriBidiChar *fribidiOutput = new FriBidiChar[length + 1];
std::memset(fribidiOutput, 0, (length + 1) * sizeof(FriBidiChar));
memset(fribidiOutput, 0, (length + 1) * sizeof(FriBidiChar));
fribidi_boolean result = fribidi_log2vis(fribidiInput,
length,
&pbase_dir,