aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/trustdb.c')
-rw-r--r--g10/trustdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c
index 55ed7d210..cffbc28e6 100644
--- a/g10/trustdb.c
+++ b/g10/trustdb.c
@@ -2343,7 +2343,7 @@ validate_keys (int interactive)
{
k->ownertrust = ask_ownertrust (k->kid,min);
- if (k->ownertrust == -1)
+ if (k->ownertrust == (unsigned int)(-1))
{
quit=1;
goto leave;