possible date fix

This commit is contained in:
Tyler Brock 2012-04-24 14:57:55 -04:00
parent d3955e0346
commit c11799abb1
1 changed files with 1 additions and 1 deletions

View File

@ -742,7 +742,7 @@ static VALUE get_value(const char* buffer, int* position, int type) {
}
case 9:
{
long long millis;
int64_t millis;
memcpy(&millis, buffer + *position, 8);
value = rb_time_new(millis / 1000, (millis % 1000) * 1000);