Skip to content

Commit 9bdad92

Browse files
Make clang on freebsd happy
1 parent 936a92b commit 9bdad92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/zm_monitor.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -605,9 +605,9 @@ void Monitor::Load(MYSQL_ROW dbrow, bool load_zones=true, Purpose p = QUERY) {
605605
col++;
606606
if (section_length < min_section_length) {
607607
section_length = min_section_length;
608-
Warning("Section length %jd < Min Section Length %jd. This is invalid.",
609-
Seconds(section_length).count(),
610-
Seconds(min_section_length).count()
608+
Warning("Section length %" PRId64 " < Min Section Length %" PRId64 ". This is invalid.",
609+
static_cast<int64>(Seconds(section_length).count()),
610+
static_cast<int64>(Seconds(min_section_length).count())
611611
);
612612
}
613613
event_close_mode = static_cast<Monitor::EventCloseMode>(dbrow[col] ? atoi(dbrow[col]) : 0);

0 commit comments

Comments
 (0)