diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-12-30 12:27:19 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-12-30 12:27:19 -0500 |
commit | ff0ad451e893d50d44fcec1282313d6c4feca9ba (patch) | |
tree | e7fb417c7b9fab3a858ecb24971809df39992fcd | |
parent | 62ffd600314eeb5f809728eff128346b1252adef (diff) |
Fix new urlifyTime to work properly on 32-bit systems
-rw-r--r-- | src/c/urweb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c index 6ddd6271..4ebe6901 100644 --- a/src/c/urweb.c +++ b/src/c/urweb.c @@ -1774,7 +1774,7 @@ uw_unit uw_Basis_urlifyFloat_w(uw_context ctx, uw_Basis_float n) { } uw_Basis_string uw_Basis_urlifyTime(uw_context ctx, uw_Basis_time t) { - return uw_Basis_urlifyInt(ctx, t.seconds * 1000000 + t.microseconds); + return uw_Basis_urlifyInt(ctx, (uw_Basis_int)t.seconds * 1000000 + t.microseconds); } uw_unit uw_Basis_urlifyString_w(uw_context ctx, uw_Basis_string s) { |