pkgsrc/ham/gmfsk/patches/patch-ad
wulf 98f4a974a5 Updated ham/gmfsk to 0.6nb7: Fixed build problem caused by definition of
log2() function in misc.c and several compiler warnings.
2006-04-26 01:48:50 +00:00

20 lines
438 B
Text

$NetBSD: patch-ad,v 1.1 2006/04/26 01:52:18 wulf Exp $
--- src/picture.c.orig 2006-04-26 10:39:13.000000000 +0930
+++ src/picture.c 2006-04-26 10:39:36.000000000 +0930
@@ -48,13 +48,13 @@
p += 4;
- while (isdigit(*p))
+ while (isdigit((u_char) *p))
*w = (*w * 10) + (*p++ - '0');
if (*p++ != 'x')
return FALSE;
- while (isdigit(*p))
+ while (isdigit((u_char) *p))
*h = (*h * 10) + (*p++ - '0');
if (*p == 'C') {