Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 03:24:33 +0000



Post From: Offering To The Community: Brett Johnson's Standard Tool Kit

[2020-07-12 21:49:41]
bjohnson777 (Brett Johnson) - Posts: 284
That's odd...
I haven't used debug in a long time. From the ACSIL documentation:
[Type: integer] PositionQuantity
%d in printf is an unsigned int.
It should have been auto-cast if it wasn't. BUT... it doesn't say what size of an int it is, but may not care.

I always use open source stuff, so am unsure about VC++.

Maybe you could try %ld for "long int" just to see what happens?

If you use the remote compiler, does it work without the (int) cast? I don't think you have to reconfigure your setup to test.