Closed GoogleCodeExporter closed 9 years ago
Thanks for this report. This is now fixed!
Committed revision 260.
$ svn diff -rPREV !$
svn diff -rPREV src/modp_numtoa.c
Index: src/modp_numtoa.c
===================================================================
--- src/modp_numtoa.c (revision 259)
+++ src/modp_numtoa.c (working copy)
@@ -58,7 +58,7 @@
void modp_litoa10(int64_t value, char* str)
{
char* wstr=str;
- unsigned long uvalue = (value < 0) ? -value : value;
+ uint64_t uvalue = (value < 0) ? -value : value;
// Conversion. Number is reversed.
do *wstr++ = (char)(48 + (uvalue % 10)); while(uvalue /= 10);
Original comment by nickg@client9.com
on 25 Feb 2012 at 4:02
Original issue reported on code.google.com by
ind...@gmail.com
on 9 Feb 2012 at 8:25