From 53ab17fbf4f5210fece91d601b15cab069fbb41f Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 23 Jan 2023 11:59:09 -0700 Subject: Warning cleanup --- enterprise.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enterprise.cpp') diff --git a/enterprise.cpp b/enterprise.cpp index 07f3ff82..3a25162c 100644 --- a/enterprise.cpp +++ b/enterprise.cpp @@ -237,7 +237,7 @@ BinaryNinja::EnterpriseServer::LicenseCheckout::LicenseCheckout(int64_t duration // Keychain auth can activate a license if we have one in the keychain // If we have an expired named license, try to get a fresh floating one - if (!IsLicenseStillActivated() || (!IsFloatingLicense() && BNGetLicenseExpirationTime() < time(nullptr))) + if (!IsLicenseStillActivated() || (!IsFloatingLicense() && (time_t)BNGetLicenseExpirationTime() < time(nullptr))) { if (!EnterpriseServer::AcquireLicense(duration)) { -- cgit v1.3.1