diff options
author | Underground78 <underground78@users.sourceforge.net> | 2011-08-02 17:38:05 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2011-08-02 17:38:05 +0400 |
commit | 10e51cdf8fb1305b73c4c644d15e35aac5a0dcd4 (patch) | |
tree | 64bcc3dfb8d0275816ad0c48bfdc9f37ccdf8f07 /src/Subtitles | |
parent | eca7e59fcfe2da375b149e284591e4091d7fa5ee (diff) |
Fix some C4996 warnings and disable them in the code from ffdshow.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@3545 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/Subtitles')
-rw-r--r-- | src/Subtitles/VobSubFileRipper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Subtitles/VobSubFileRipper.cpp b/src/Subtitles/VobSubFileRipper.cpp index 7e3c61c35..a33987f18 100644 --- a/src/Subtitles/VobSubFileRipper.cpp +++ b/src/Subtitles/VobSubFileRipper.cpp @@ -64,7 +64,7 @@ void CVobSubFileRipper::Log(log_t type, LPCTSTR lpszFormat, ...) va_list args;
va_start(args, lpszFormat);
- _vstprintf(buff, lpszFormat, args);
+ _vstprintf(buff, sizeof(buff)/sizeof(TCHAR), lpszFormat, args);
va_end(args);
CString msg;
|