We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6bf728 commit bf6cc03Copy full SHA for bf6cc03
include/msgpack/sysdep.h
@@ -14,7 +14,7 @@
14
#include <stddef.h>
15
16
#if defined(_MSC_VER) && _MSC_VER <= 1800
17
-# define snprintf(buf, len, format,...) _snprintf_s(buf, len, len, format, __VA_ARGS__)
+# define snprintf(buf, len, format,...) _snprintf_s(buf, len, _TRUNCATE, format, __VA_ARGS__)
18
#endif
19
20
#if defined(_MSC_VER) && _MSC_VER < 1600
0 commit comments