ole32/tests: Avoid using snprintf().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
72f7f57a21
commit
0f38b850c2
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue