remove ambiguity by setting parentheses
This commit is contained in:
+1
-1
@@ -426,7 +426,7 @@ asn1totime(const chunk_t *utctime, asn1_t type)
|
||||
tc = mktime(&t);
|
||||
|
||||
/* if no conversion overflow occurred, compensate timezone */
|
||||
return (tc == -1) ? TIME_MAX : tc - timezone - tz_offset;
|
||||
return (tc == -1) ? TIME_MAX : (tc - timezone - tz_offset);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user