Module: wine Branch: master Commit: 0f38b850c2970f72bff7caed158fbb1c80ad5bfb URL: https://source.winehq.org/git/wine.git/?a=commit;h=0f38b850c2970f72bff7caed1... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Apr 23 11:12:43 2019 +0200 ole32/tests: Avoid using snprintf(). Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/ole32/tests/clipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ole32/tests/clipboard.c b/dlls/ole32/tests/clipboard.c index d43bbf3..8901758 100644 --- a/dlls/ole32/tests/clipboard.c +++ b/dlls/ole32/tests/clipboard.c @@ -44,7 +44,7 @@ static inline char *dump_fmtetc(FORMATETC *fmt) { static char buf[100]; - snprintf(buf, sizeof(buf), "cf %04x ptd %p aspect %x lindex %d tymed %x", + sprintf(buf, "cf %04x ptd %p aspect %x lindex %d tymed %x", fmt->cfFormat, fmt->ptd, fmt->dwAspect, fmt->lindex, fmt->tymed); return buf; }