Cast krb5_error_code to int to avoid warning.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22988 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-04-15 15:55:09 +00:00
parent 64d254c91a
commit 35f21109ee

View File

@@ -147,7 +147,7 @@ krb5_get_error_message(krb5_context context, krb5_error_code code)
if (cstr) if (cstr)
return strdup(cstr); return strdup(cstr);
if (asprintf(&str, "<unknown error: %d>", code) == -1) if (asprintf(&str, "<unknown error: %d>", (int)code) == -1)
return NULL; return NULL;
return str; return str;