We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 705

Summary: Some *printf() format string fixes for TESTS.
Product: SDL Reporter: Sami Näätänen <sn.ml>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: Linux   
Attachments: Patches two tests that had broken format strings in their *printf()'s.

Description Sami Näätänen 2009-02-21 11:15:39 UTC
Created attachment 299 [details]
Patches two tests that had broken format strings in their *printf()'s.

This fixes errors in format strings for testbitmap and testplatform.
NOTE! tested on 64bit system, so x86 tests are at least needed.

As I can't test if this is due to my glibc, gcc or other features of my system like the 64bitnes, I ask others with different kind of systems to also test the patch.

How to test:
apply the patch.
make and install.
make all the tests.
NO compiler warnings should be outputed from that!
run the testplatform test to make sure it works OK.


My test was on:

distro: Gentoo
glibc:  sys-libs/glibc-2.8_p20080602-r1
gcc:    sys-devel/gcc-4.3.3
Comment 1 Sam Lantinga 2009-09-26 02:58:16 UTC
The last patch with the 64-bit number I had to revert because llX is required on 32-bit systems, but otherwise the patch looked great.

Thanks!