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
1 changed files with 1 additions and 1 deletions

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)
{