From bbc9eed034bb9fa7ee0ff1039ca8b9dbf1f92b50 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 22 Mar 2002 07:26:42 +0000 Subject: * the VMS support patch submitted by Akiyoshi, Masamichi 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: http://svn.ruby-lang.org/repos/ruby/trunk@2258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'time.c') diff --git a/time.c b/time.c index 1f0cf2736..4ac38bc0f 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"); } -- cgit