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
This commit is contained in:
Love Hörnquist Åstrand
2008-04-15 15:55:25 +00:00
parent 3e739f8ba4
commit adeccfb453

View File

@@ -1269,7 +1269,7 @@ scc_move(krb5_context context, krb5_ccache from, krb5_ccache to)
sqlite3_reset(sfrom->dcache); sqlite3_reset(sfrom->dcache);
if (ret != SQLITE_DONE) { if (ret != SQLITE_DONE) {
krb5_set_error_string(context, krb5_set_error_string(context,
"Failed to delete old cache: %d", ret); "Failed to delete old cache: %d", (int)ret);
goto rollback; goto rollback;
} }
} }
@@ -1282,7 +1282,8 @@ scc_move(krb5_context context, krb5_ccache from, krb5_ccache to)
} while (ret == SQLITE_ROW); } while (ret == SQLITE_ROW);
sqlite3_reset(sfrom->ucachen); sqlite3_reset(sfrom->ucachen);
if (ret != SQLITE_DONE) { 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; goto rollback;
} }