Files
pkgsrc-ng/ham/gmfsk/patches/patch-ad
2013-09-26 17:14:40 +02:00

21 lines
438 B
Plaintext

$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') {