Skip to content

Commit

Permalink
Make MSVC happy
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed Mar 16, 2023
1 parent cda4db5 commit 1abaa51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/database_auth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ bool DatabaseAuth::ban(const AuthBanEntry &entry)
sqlite3_reset(m_stmt_end);

if (good) {
printf("Server: Banned %s (%s) until %lu\n",
entry.affected.c_str(), entry.context.c_str(), entry.expiry
printf("Server: Banned %s (%s) until %llu\n",
entry.affected.c_str(), entry.context.c_str(), (unsigned long long)entry.expiry
);
}

Expand Down
1 change: 1 addition & 0 deletions src/server/database_auth.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#include "database.h"
#include <ctime>
#include <map>

struct AuthInformation {
Expand Down

0 comments on commit 1abaa51

Please sign in to comment.