summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/krb5/krb/str_conv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/str_conv.c b/src/lib/krb5/krb/str_conv.c
index 2413cebcd..531eba126 100644
--- a/src/lib/krb5/krb/str_conv.c
+++ b/src/lib/krb5/krb/str_conv.c
@@ -217,7 +217,7 @@ krb5_string_to_timestamp(char *string, krb5_timestamp *timestampp)
krb5_error_code KRB5_CALLCONV
krb5_timestamp_to_string(krb5_timestamp timestamp, char *buffer, size_t buflen)
{
- int ret;
+ size_t ret;
time_t timestamp2 = timestamp;
struct tm tmbuf;
const char *fmt = "%c"; /* This is to get around gcc -Wall warning that