Alexandre Julliard : comdlg32: Don'
t use sizeof in traces to avoid printf format warnings.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jun 14 06:50:35 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: aeae92e9f9fccbef479c5d84ef8d084700342f48
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=aeae92e9f9fccbef479c5d84ef8d084700342f48
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jun 13 14:09:24 2006 +0200
comdlg32: Don't use sizeof in traces to avoid printf format warnings.
---
dlls/comdlg32/printdlg16.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comdlg32/printdlg16.c b/dlls/comdlg32/printdlg16.c
index fc55bd7..9d5f9dc 100644
--- a/dlls/comdlg32/printdlg16.c
+++ b/dlls/comdlg32/printdlg16.c
@@ -363,7 +363,7 @@ BOOL16 WINAPI PrintDlg16(
}
if(lppd->lStructSize != sizeof(PRINTDLG16)) {
- ERR("structure size (%ld/%d)\n",lppd->lStructSize,sizeof(PRINTDLG16));
+ ERR("structure size %ld\n",lppd->lStructSize);
COMDLG32_SetCommDlgExtendedError(CDERR_STRUCTSIZE);
return FALSE;
}
More information about the wine-cvs
mailing list