winedump: Ensure function order in a printf (PVS-Studio)
André Hentschel
nerv at dawncrow.de
Sat Oct 25 10:55:11 CDT 2014
For https://bugs.winehq.org/show_bug.cgi?id=37126
"
...
printf("\\%2.2x \\%2.2x\n", tlb_read_byte(), tlb_read_byte());
...
According to the C++ language standard, the sequence of computing a function's actual arguments is not defined. Which function will be called first depends on the compiler, compilation parameters, etc.
"
---
tools/winedump/tlb.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-winedump-Ensure-function-order-in-a-printf.txt
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141025/d0780414/attachment.bin>
More information about the wine-patches
mailing list