Navigation Menu

Skip to content

Commit

Permalink
Fix a typo...
Browse files Browse the repository at this point in the history
So sorry...
  • Loading branch information
kou committed Oct 24, 2012
1 parent f5dab85 commit e5b06b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -1508,7 +1508,7 @@ static long long int mrn_tm_to_grn_time(struct tm *time, int usec)
long long int grn_time;
long long int sec = mktime(time);
bool failed = (sec == -1);
bool overflowed = (time.tm_year >= 0 && sec < 0);
bool overflowed = (time->tm_year >= 0 && sec < 0);
if (failed || overflowed) {
grn_time = 0;
} else {
Expand Down

0 comments on commit e5b06b8

Please sign in to comment.