Skip to content

Commit

Permalink
Update systemcredentials.cpp
Browse files Browse the repository at this point in the history
Fixes #52
  • Loading branch information
nlogozzo committed Nov 18, 2024
1 parent 72f5d0b commit 7f87e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keyring/systemcredentials.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ namespace Nickvision::Keyring
return status == errSecSuccess;
#else
GError* error{ nullptr };
bool res{ secret_password_clear_sync(&KEYRING_SCHEMA, nullptr, &error, "application", name.c_str(), nullptr) };
bool res{ static_cast<bool>(secret_password_clear_sync(&KEYRING_SCHEMA, nullptr, &error, "application", name.c_str(), nullptr)) };
if (!error)
{
return res;
Expand Down

0 comments on commit 7f87e79

Please sign in to comment.