| 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. | ||
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! |
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