Fix incorrect string type for fopen_s.

This commit is contained in:
Artem Martynovich 2015-07-15 11:24:49 +06:00
parent 7ee0ec0728
commit 5508607dfa

View File

@ -66,7 +66,7 @@ public:
{
close();
tchar* mode = truncate ? S("wb") : S("ab");
const tchar* mode = truncate ? S("wb") : S("ab");
_filename = fname;
for (int tries = 0; tries < open_tries; ++tries)
{