For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

[PATCH 07/25] Fix printf format specifier

Denis Barbier's picture
Forums: 

Fixed format %d expects type int but argument XX is long unsigned int

Fix printf format specifier for size_t arguments.
There is no standard, MSVC defines %I and GCC %z.
Moreover, it is long on 64bit machines and int otherwise.

Contributed by: Thomas Paviot, Denis Barbier