projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f14989c
)
Change variable accepting return from strftime to time_t. This
author
Ezra Peisach
<epeisach@mit.edu>
Fri, 6 Feb 2009 05:31:09 +0000
(
05:31
+0000)
committer
Ezra 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
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/str_conv.c
b/src/lib/krb5/krb/str_conv.c
index 2413cebcdfd77ea3c76b529c491f3df762eb279b..531eba1264c3370ead810fe193787912af210a15 100644
(file)
--- 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)
{
-
in
t ret;
+
size_
t ret;
time_t timestamp2 = timestamp;
struct tm tmbuf;
const char *fmt = "%c"; /* This is to get around gcc -Wall warning that