summaryrefslogtreecommitdiff
path: root/libstd
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-06-16 22:31:49 -0700
committerOri Bernstein <ori@eigenstate.org>2015-06-16 22:31:49 -0700
commitf09d58f381dee6f9f9cdea78a10651e3796e9831 (patch)
tree96f1b7cd777a458685d283fd9d90c4347a655ded /libstd
parentb85b0202f856095d12a293961367f2e5cb93e16d (diff)
downloadmc-f09d58f381dee6f9f9cdea78a10651e3796e9831.tar.gz
Fix fmt.myr
Lots of unsigned were using the wrong value.
Diffstat (limited to 'libstd')
-rw-r--r--libstd/fmt.myr10
1 files changed, 5 insertions, 5 deletions
diff --git a/libstd/fmt.myr b/libstd/fmt.myr
index 1df1253..0deda47 100644
--- a/libstd/fmt.myr
+++ b/libstd/fmt.myr
@@ -236,19 +236,19 @@ const fallbackfmt = {sb, params, tyenc, ap : valist# -> void
ub_val = vanext(ap)
intfmt(sb, intparams(params), false, ub_val)
| `Tyuint16:
- w_val = vanext(ap)
+ uw_val = vanext(ap)
intfmt(sb, intparams(params), false, uw_val)
| `Tyuint:
- i_val = vanext(ap)
+ ui_val = vanext(ap)
intfmt(sb, intparams(params), false, ui_val)
| `Tyuint32:
- i_val = vanext(ap)
+ ui_val = vanext(ap)
intfmt(sb, intparams(params), false, ui_val)
| `Tyuint64:
- l_val = vanext(ap)
+ ul_val = vanext(ap)
intfmt(sb, intparams(params), false, ul_val)
| `Tyulong:
- l_val = vanext(ap)
+ ul_val = vanext(ap)
intfmt(sb, intparams(params), false, ul_val)
| `Tyflt32:
f32_val = vanext(ap)