Skip to content

Commit

Permalink
#3007 Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Dec 23, 2024
1 parent 5880bf1 commit 66e4deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basic/vx_cal/is_leap_year.cc
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ unixtime add_to_unixtime(unixtime base_unixtime, int sec_per_unit,
double time_fraction = time_value - (double)time_value_ut;
const char *method_name = "add_to_unixtime(double) -> ";

if (!check_time_units_and_offset(sec_per_unit, (double)time_value)) {
if (!check_time_units_and_offset(sec_per_unit, time_value)) {
mlog << Error << "\n" << method_name
<< " the negative offset (" << time_value
<< ") is not supported for unit months and years\n\n";
Expand Down

0 comments on commit 66e4deb

Please sign in to comment.