Add base 12 in strconv.odin

This commit is contained in:
Ginger Bill
2017-03-19 21:03:29 +00:00
parent c26990c22d
commit c6ff961088
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -498,7 +498,7 @@ _write_int :: proc(fi: ^Fmt_Info, u: u64, base: int, is_signed: bool, bit_size:
}
match base {
case 2, 8, 10, 16:
case 2, 8, 10, 12, 16:
break;
default:
panic("_write_int: unknown base, whoops");