dxx-rebirth/similar
Kp bbdecad649 Add helper macro to handle printf .* conversion for 32/64
Field width conversion `.*` always takes an `int`.

On Win32, casting `long` to `int` triggers a `-Wuseless-cast` warning.
Omitting the cast works correctly.

On Linux/amd64, casting `long` to `int` works correctly.
Omitting the cast triggers a `-Wformat` warning.

Add a macro that conditionally expands to `static_cast<int>` or to ``,
as necessary for the target platform.
2016-08-19 03:41:41 +00:00
..
2d Remove useless cast in similar/2d/pcx.cpp 2016-08-17 04:44:22 +00:00
3d Convert various static const expressions to constexpr 2016-07-16 16:52:04 +00:00
arch Remove useless casts in similar/arch/ogl/ogl.cpp 2016-08-17 04:44:22 +00:00
editor Add helper macro to handle printf .* conversion for 32/64 2016-08-19 03:41:41 +00:00
main Add helper macro to handle printf .* conversion for 32/64 2016-08-19 03:41:41 +00:00
misc Remove char[N] overload for PHYSFSX_getRealPath 2016-08-06 19:55:25 +00:00