Source-Changes-HG archive

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

[src/trunk]: src/libexec/comsat Remove useless cast, probably motivated by an...



details:   https://anonhg.NetBSD.org/src/rev/d6f7c21c5fd2
branches:  trunk
changeset: 755252:d6f7c21c5fd2
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat May 29 23:12:30 2010 +0000

description:
Remove useless cast, probably motivated by an older and stupider lint.

diffstat:

 libexec/comsat/comsat.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ca8ca062b1ea -r d6f7c21c5fd2 libexec/comsat/comsat.c
--- a/libexec/comsat/comsat.c   Sat May 29 23:08:06 2010 +0000
+++ b/libexec/comsat/comsat.c   Sat May 29 23:12:30 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: comsat.c,v 1.41 2010/05/29 23:08:06 dholland Exp $     */
+/*     $NetBSD: comsat.c,v 1.42 2010/05/29 23:12:30 dholland Exp $     */
 
 /*
  * Copyright (c) 1980, 1993
@@ -36,7 +36,7 @@
 #if 0
 static char sccsid[] = "from: @(#)comsat.c     8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: comsat.c,v 1.41 2010/05/29 23:08:06 dholland Exp $");
+__RCSID("$NetBSD: comsat.c,v 1.42 2010/05/29 23:12:30 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -250,7 +250,7 @@
                return;
        }
        (void)signal(SIGALRM, SIG_DFL);
-       (void)alarm((u_int)30);
+       (void)alarm(30);
        if ((tp = fopen(tty, "w")) == NULL) {
                dsyslog(LOG_ERR, "open `%s' (%s)", tty, strerror(errno));
                _exit(1);



Home | Main Index | Thread Index | Old Index