Module Name: src Committed By: dholland Date: Sat May 29 23:12:30 UTC 2010
Modified Files: src/libexec/comsat: comsat.c Log Message: Remove useless cast, probably motivated by an older and stupider lint. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/libexec/comsat/comsat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/libexec/comsat/comsat.c diff -u src/libexec/comsat/comsat.c:1.41 src/libexec/comsat/comsat.c:1.42 --- src/libexec/comsat/comsat.c:1.41 Sat May 29 23:08:06 2010 +++ src/libexec/comsat/comsat.c Sat May 29 23:12:30 2010 @@ -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);