pkgsrc/ham/dpbox/patches/patch-aw
wulf 9047ade2a9 Implemented changes for this package to use the REQD_DIR and CONF_FILES
framework for the installation of the configuration files.
Fixed compile warning message due to implicit casting
2006-04-21 02:07:53 +00:00

13 lines
393 B
Text

$NetBSD: patch-aw,v 1.1 2006/04/21 02:07:54 wulf Exp $
--- yapp.c.orig 2006-04-14 11:54:19.000000000 +0930
+++ yapp.c 2006-04-14 11:54:42.000000000 +0930
@@ -505,7 +505,7 @@
w[0] = '\0';
x = 4;
- while (x <= len && isdigit(yapp->buffer[x])) {
+ while (x <= len && isdigit((u_char) yapp->buffer[x])) {
sprintf(w + strlen(w), "%c", yapp->buffer[x]);
x++;
}