Alexandre Julliard : msvfw32: Don' t use sizeof in traces to avoid printf format warnings.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jun 14 06:50:50 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 348fd746d929257ce4656334bf4be26b71d5e081
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=348fd746d929257ce4656334bf4be26b71d5e081

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Jun 13 14:10:57 2006 +0200

msvfw32: Don't use sizeof in traces to avoid printf format warnings.

---

 dlls/msvfw32/msvideo_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msvfw32/msvideo_main.c b/dlls/msvfw32/msvideo_main.c
index 5aa050a..a6d90ff 100644
--- a/dlls/msvfw32/msvideo_main.c
+++ b/dlls/msvfw32/msvideo_main.c
@@ -1374,7 +1374,7 @@ LPVOID VFWAPI ICSeqCompressFrame(PCOMPVA
 
     if (pc->cbState != sizeof(ICCOMPRESS))
     {
-       ERR("Invalid cbState (%li should be %i)\n", pc->cbState, sizeof(ICCOMPRESS));
+       ERR("Invalid cbState %li\n", pc->cbState);
        return NULL;
     }
 




More information about the wine-cvs mailing list