i need a quick solution,
if a number in eax=80087D4h1 and the sign flag=1, wsprintf returns me the negative number:-2146927295
how do i return the correct number:2148040001
thanks!
-wizzra
Posted on 2004-12-28 05:20:21 by wizzra
Use %u for an unsigned value.
Posted on 2004-12-28 05:59:44 by QuantumMatrix1024
oh.. yeah, thanks for reminding me man!!
Posted on 2004-12-28 06:32:08 by wizzra
Moved this thread to the main as it has nothing to do with algorithms.
Posted on 2004-12-28 06:37:07 by roticv
yeah, thanks..
sorry for the fast thread, i was in a hurry to finish the code and i forgot the %u :|
Posted on 2004-12-28 14:04:12 by wizzra