[Bug 42350] Suspicious compiler warnings about pointer casts in oleaut32/ tmarshal.c on 64 bit

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Feb 1 17:15:19 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=42350

Matteo Bruni <matteo.mystral at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|-unknown                    |oleaut32
            Summary|Compiler warning in         |Suspicious compiler
                   |include/debug.h             |warnings about pointer
                   |                            |casts in
                   |                            |oleaut32/tmarshal.c on 64
                   |                            |bit
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #2 from Matteo Bruni <matteo.mystral at gmail.com> ---
(In reply to fjfrackiewicz from comment #1)
> Created attachment 57118 [details]
> Compiler warnings for debug.h
> 
> Missed a line or two in the previous attachment.

Actually the new attachment is shorter than the previous one :)
Either one is missing the actual error message, but it mentions this line:

http://source.winehq.org/git/wine.git/blob/36bb9d905ae10713bcd197958fb71aa86930a505:/dlls/oleaut32/tmarshal.c#l810

The error I get (unsurpisingly) is:

/home/matteo/wine-git/dlls/oleaut32/tmarshal.c:810:279: warning: cast to
pointer from integer of different size [-Wint-to-pointer-cast]

There are a bunch more of those in the same file (including some affecting more
important code i.e. not just a TRACE).

I thought we already had a bug for this but I can't find one matching at the
moment so I'm keeping this bug open.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list