diff options
author | James Ross-Gowan <rossy@jrg.systems> | 2017-07-29 21:13:07 +1000 |
---|---|---|
committer | James Ross-Gowan <rossy@jrg.systems> | 2017-07-29 21:13:07 +1000 |
commit | 28e3618e79ba027c28d2d651675f987b4347dfa9 (patch) | |
tree | 7c8b0a6314290a583c69e63cc1ba10285916fa8a /osdep/path-unix.c | |
parent | df12f7691026a6012d4bd359919d63a1bd1a9cf6 (diff) | |
download | mpv-28e3618e79ba027c28d2d651675f987b4347dfa9.tar.bz2 mpv-28e3618e79ba027c28d2d651675f987b4347dfa9.tar.xz |
subprocess-win: fix swprintf usage
The count parameter refers to the number of wide-characters to write to
the buffer (including the terminating NUL character, which is always
added,) not the number of bytes. See C99 7.24.2.3 or
https://msdn.microsoft.com/en-us/library/ybk95axf.aspx
Diffstat (limited to 'osdep/path-unix.c')
0 files changed, 0 insertions, 0 deletions