Commit 5508607d authored by Artem Martynovich's avatar Artem Martynovich

Fix incorrect string type for fopen_s.

parent 7ee0ec07
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment