Skip to content

Commit

Permalink
Fix compilation issue on FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Oct 13, 2023
1 parent d6c57d6 commit 966c0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multistat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ class KnownPlayersDB {
// Begin transaction
SQLite::Transaction transaction(*db);

auto mutedTimeValue = mutedTime.has_value() ? mutedTime.value().time_since_epoch().count() : 0;
int64_t mutedTimeValue = static_cast<int64_t>(mutedTime.has_value() ? mutedTime.value().time_since_epoch().count() : 0);

query_insertNewPlayerOptions->bind(1, publicKeyb64);
query_insertNewPlayerOptions->bind(2, name);
Expand Down

0 comments on commit 966c0c0

Please sign in to comment.