Module Name:    src
Committed By:   christos
Date:           Sun Jan 18 15:37:58 UTC 2015

Modified Files:
        src/external/bsd/am-utils/dist/amq: amq.c

Log Message:
fix wrong type


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/am-utils/dist/amq/amq.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/am-utils/dist/amq/amq.c
diff -u src/external/bsd/am-utils/dist/amq/amq.c:1.2 src/external/bsd/am-utils/dist/amq/amq.c:1.3
--- src/external/bsd/am-utils/dist/amq/amq.c:1.2	Sat Jan 17 12:46:31 2015
+++ src/external/bsd/am-utils/dist/amq/amq.c	Sun Jan 18 10:37:57 2015
@@ -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 @@ enum show_opt {
 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,

Reply via email to