mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
fix int formatting in std::collections::object
This commit is contained in:
committed by
Christoffer Lerno
parent
2ef1465244
commit
217151be8d
@@ -63,7 +63,7 @@ fn usz! Object.to_format(&self, Formatter* formatter) @dynamic
|
||||
switch (self.type.kindof)
|
||||
{
|
||||
case SIGNED_INT:
|
||||
return formatter.printf("%d", self.i)!;
|
||||
return formatter.printf("%d", (int128)self.i)!;
|
||||
case UNSIGNED_INT:
|
||||
return formatter.printf("%d", (uint128)self.i)!;
|
||||
case FLOAT:
|
||||
|
||||
Reference in New Issue
Block a user