summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2009-02-06 05:31:09 +0000
committerEzra Peisach <epeisach@mit.edu>2009-02-06 05:31:09 +0000
commit9162bf2930bcb1e2a2bc4f17802b9f38a2c0c524 (patch)
treed5cd7932641354fbea03987128184c7056a77638 /src
parentf14989c3ee872225c22024012583986a7db43f06 (diff)
downloadkrb5-9162bf2930bcb1e2a2bc4f17802b9f38a2c0c524.tar.gz
krb5-9162bf2930bcb1e2a2bc4f17802b9f38a2c0c524.tar.xz
krb5-9162bf2930bcb1e2a2bc4f17802b9f38a2c0c524.zip
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
Diffstat (limited to 'src')
-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