Change variable accepting return from strftime to time_t. This
authorEzra Peisach <epeisach@mit.edu>
Fri, 6 Feb 2009 05:31:09 +0000 (05:31 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 6 Feb 2009 05:31:09 +0000 (05:31 +0000)
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

index 2413cebcdfd77ea3c76b529c491f3df762eb279b..531eba1264c3370ead810fe193787912af210a15 100644 (file)
@@ -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