svn rev #21907: trunk/src/lib/krb5/krb/
epeisach@MIT.EDU
epeisach at MIT.EDU
Fri Feb 6 00:31:10 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=21907
Commit By: epeisach
Log Message:
Change variable accepting return from strftime to time_t. This
matches prototype for function and removes a signed/unsigned warning.
Changed Files:
U trunk/src/lib/krb5/krb/str_conv.c
Modified: trunk/src/lib/krb5/krb/str_conv.c
===================================================================
--- trunk/src/lib/krb5/krb/str_conv.c 2009-02-06 05:22:34 UTC (rev 21906)
+++ trunk/src/lib/krb5/krb/str_conv.c 2009-02-06 05:31:09 UTC (rev 21907)
@@ -217,7 +217,7 @@
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
More information about the cvs-krb5
mailing list