diff options
Diffstat (limited to 'enterprise.cpp')
| -rw-r--r-- | enterprise.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |
