Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/am-utils/dist/amq fix wrong type



details:   https://anonhg.NetBSD.org/src/rev/e9da46204d12
branches:  trunk
changeset: 335630:e9da46204d12
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 18 15:37:57 2015 +0000

description:
fix wrong type

diffstat:

 external/bsd/am-utils/dist/amq/amq.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4f1361e948f3 -r e9da46204d12 external/bsd/am-utils/dist/amq/amq.c
--- a/external/bsd/am-utils/dist/amq/amq.c      Sun Jan 18 15:31:10 2015 +0000
+++ b/external/bsd/am-utils/dist/amq/amq.c      Sun Jan 18 15:37:57 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amq.c,v 1.2 2015/01/17 17:46:31 christos Exp $ */
+/*     $NetBSD: amq.c,v 1.3 2015/01/18 15:37:57 christos Exp $ */
 
 /*
  * Copyright (c) 1997-2014 Erez Zadok
@@ -81,7 +81,7 @@
 static void
 time_print(time_type tt)
 {
-  time_t t = (time_t)tt;
+  time_t t = (time_t)*tt;
   struct tm *tp = localtime(&t);
   printf("%02d/%02d/%04d %02d:%02d:%02d",
         tp->tm_mon + 1, tp->tm_mday,



Home | Main Index | Thread Index | Old Index