Module: wine Branch: master Commit: 9e9095fe7aeb1b5321708fcfb8aac4e31fcc9374 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=9e9095fe7aeb1b5321708fcf... Author: Jeff Latimer <lats(a)yless4u.com.au> Date: Fri Sep 8 23:10:00 2006 +1000 gdi: Change the metafile.c test to use sprintf instead of snprintf for portability. --- dlls/gdi/tests/metafile.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/gdi/tests/metafile.c b/dlls/gdi/tests/metafile.c index 7f4b0ae..3610bf8 100644 --- a/dlls/gdi/tests/metafile.c +++ b/dlls/gdi/tests/metafile.c @@ -1354,7 +1354,7 @@ static void checkConvertedFrameAndBounds case MM_ISOTROPIC: mm_str = "MM_ISOTROPIC"; break; default: mm_str = "Unexpected"; } - snprintf(buf, 64, "mm=%s, xExt=%ld, yExt=%ld", mm_str, xExt, yExt); + sprintf(buf, "mm=%s, xExt=%ld, yExt=%ld", mm_str, xExt, yExt); msg = buf; }