Fix incorrect string type for fopen_s.

pull/111/head
Artem Martynovich 10 years ago
parent 7ee0ec0728
commit 5508607dfa

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

Loading…
Cancel
Save