Skip to content

Commit ebb85dd

Browse files
SGSSGenejbeder
authored andcommitted
fix: floating point conversion on x86 (32bit)
1 parent 80ea002 commit ebb85dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fptostring.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace fp_formatting {
2828
* assert(buffer[1] == '2');
2929
* assert(buffer[2] == '3');
3030
*/
31-
int ConvertToChars(char* begin, char* end, size_t value, int width=1) {
31+
int ConvertToChars(char* begin, char* end, uint64_t value, int width=1) {
3232
// precondition of this function (will trigger in debug build)
3333
assert(width >= 1);
3434
assert(end >= begin); // end must be after begin

0 commit comments

Comments
 (0)