summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-22 07:26:42 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-22 07:26:42 +0000
commit2bd0c2bf73acd0841619f67e3448573e5b6e3064 (patch)
tree8d1f8bb30c4092ea1c809a0f7bfe65bb0cd94d66 /time.c
parent890521d11783ac21503052e2a5f86c4ddfc6a9d8 (diff)
* the VMS support patch submitted by Akiyoshi, Masamichi
<Masamichi.Akiyoshi@jp.compaq.com> is merged. * eval.c (exec_under): changing ruby_class is OK, but should not alter cbase. * eval.c (yield_under_i): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index 1f0cf2736e..4ac38bc0f7 100644
--- a/time.c
+++ b/time.c
@@ -1382,7 +1382,7 @@ time_load(klass, str)
int i;
StringValue(str);
- buf = RSTRING(str)->ptr;
+ buf = (unsigned char *)RSTRING(str)->ptr;
if (RSTRING(str)->len != 8) {
rb_raise(rb_eTypeError, "marshaled time format differ");
}