diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1998-06-23 11:49:37 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1998-06-23 11:49:37 +0000 |
commit | e8d15c7a4e25d26e08cfa8786df09498bb1d3c26 (patch) | |
tree | 13fde3870ddf4a7c5190b443f235e93995a8415e | |
parent | a4e6c0221df58c0616c7456058be17c10b2fff93 (diff) |
fix warnings
-rw-r--r-- | kerberosIV/krb/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kerberosIV/krb/time.c b/kerberosIV/krb/time.c index fd96dd9dbac..3c73802e9c5 100644 --- a/kerberosIV/krb/time.c +++ b/kerberosIV/krb/time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: time.c,v 1.1 1998/05/18 00:54:01 art Exp $ */ +/* $OpenBSD: time.c,v 1.2 1998/06/23 11:49:36 art Exp $ */ /* $KTH: time.c,v 1.1 1998/02/19 19:12:55 joda Exp $ */ /* * Copyright (c) 1998 Kungliga Tekniska Högskolan @@ -64,8 +64,8 @@ krb_kdctimeofday(struct timeval *tv) { gettimeofday(tv, NULL); if(krb_debug) - krb_warning("Machine time: %s", ctime(&tv->tv_sec)); + krb_warning("Machine time: %s", ctime((time_t *)&tv->tv_sec)); tv->tv_sec += krb_get_kdc_time_diff(); if(krb_debug) - krb_warning("Correcting to %s", ctime(&tv->tv_sec)); + krb_warning("Correcting to %s", ctime((time_t *)&tv->tv_sec)); } |