From adeccfb453f8a3749d1f1beefd44bb002abfd457 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 15 Apr 2008 15:55:25 +0000 Subject: [PATCH] Cast krb5_error_code to int to avoid warning. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22992 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/scache.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/krb5/scache.c b/lib/krb5/scache.c index 9fe228ca8..0946c0d6c 100644 --- a/lib/krb5/scache.c +++ b/lib/krb5/scache.c @@ -1269,7 +1269,7 @@ scc_move(krb5_context context, krb5_ccache from, krb5_ccache to) sqlite3_reset(sfrom->dcache); if (ret != SQLITE_DONE) { krb5_set_error_string(context, - "Failed to delete old cache: %d", ret); + "Failed to delete old cache: %d", (int)ret); goto rollback; } } @@ -1282,7 +1282,8 @@ scc_move(krb5_context context, krb5_ccache from, krb5_ccache to) } while (ret == SQLITE_ROW); sqlite3_reset(sfrom->ucachen); if (ret != SQLITE_DONE) { - krb5_set_error_string(context, "Failed to update new cache: %d", ret); + krb5_set_error_string(context, + "Failed to update new cache: %d", (int)ret); goto rollback; } -- 2.11.4.GIT