From: Ezra Peisach Date: Fri, 6 Feb 2009 05:31:09 +0000 (+0000) Subject: Change variable accepting return from strftime to time_t. This X-Git-Tag: krb5-1.8-alpha1~697 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9162bf2930bcb1e2a2bc4f17802b9f38a2c0c524;p=thirdparty%2Fkrb5.git 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 --- diff --git a/src/lib/krb5/krb/str_conv.c b/src/lib/krb5/krb/str_conv.c index 2413cebcdf..531eba1264 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