summaryrefslogtreecommitdiff
path: root/lib/std/fmt.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/fmt.myr')
-rw-r--r--lib/std/fmt.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/fmt.myr b/lib/std/fmt.myr
index 5c94542..005d1d3 100644
--- a/lib/std/fmt.myr
+++ b/lib/std/fmt.myr
@@ -537,7 +537,7 @@ const digitchars = [
'5','6','7','8','9',
'a','b','c','d','e','f'
]
-generic intfmt = {sb, opts, signed, bits : @a::(integral,numeric)
+generic intfmt = {sb, opts, signed, bits : @a :: integral,numeric @a
var isneg
var sval, val
var b : char[32]
@@ -557,7 +557,7 @@ generic intfmt = {sb, opts, signed, bits : @a::(integral,numeric)
;;
else
val = (bits : uint64)
- val &= ~0 >> (8*(sizeof(uint64)-sizeof(@a::(integral,numeric))))
+ val &= ~0 >> (8*(sizeof(uint64)-sizeof(@a)))
isneg = false
;;