From 9162bf2930bcb1e2a2bc4f17802b9f38a2c0c524 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Fri, 6 Feb 2009 05:31:09 +0000 Subject: [PATCH] Change variable accepting return from strftime to time_t. This matches prototype for function and removes a signed/unsigned warning. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21907 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/str_conv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2