Commit 0f38b850 authored by Alexandre Julliard's avatar Alexandre Julliard

ole32/tests: Avoid using snprintf().

parent 72f7f57a
...@@ -44,7 +44,7 @@ static inline char *dump_fmtetc(FORMATETC *fmt) ...@@ -44,7 +44,7 @@ static inline char *dump_fmtetc(FORMATETC *fmt)
{ {
static char buf[100]; 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); fmt->cfFormat, fmt->ptd, fmt->dwAspect, fmt->lindex, fmt->tymed);
return buf; return buf;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment