pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/lambd/files Fix build on -current.
details: https://anonhg.NetBSD.org/pkgsrc/rev/96b9e92ffb1c
branches: trunk
changeset: 508992:96b9e92ffb1c
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Mar 01 22:46:50 2006 +0000
description:
Fix build on -current.
diffstat:
sysutils/lambd/files/lambd.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r a1a70ba97eb2 -r 96b9e92ffb1c sysutils/lambd/files/lambd.c
--- a/sysutils/lambd/files/lambd.c Wed Mar 01 22:46:29 2006 +0000
+++ b/sysutils/lambd/files/lambd.c Wed Mar 01 22:46:50 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lambd.c,v 1.4 2001/07/19 20:29:08 itojun Exp $ */
+/* $NetBSD: lambd.c,v 1.5 2006/03/01 22:46:50 wiz Exp $ */
/*
* Copyright (C) 2001 WIDE Project. All rights reserved.
@@ -286,7 +286,7 @@
int
morse()
{
- const char *p, *q;
+ unsigned const char *p, *q;
int mark, blank;
unsigned long t = delay / 10;
@@ -300,6 +300,8 @@
q = alph[*p - 'A'];
else if (isalpha(*p) && islower(*p))
q = alph[*p - 'a'];
+ else
+ q = NULL;
if (debug)
printf("%c <%s>\n", *p, q);
Home |
Main Index |
Thread Index |
Old Index