opnsense-ports/misc/asbutton/files/patch-asbutton.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
308 B
C

--- asbutton.c.orig 1999-07-17 05:59:20.000000000 +0800
+++ asbutton.c 2007-08-03 18:13:09.000000000 +0800
@@ -605,7 +605,7 @@
continue;
}
if ( !strncasecmp(line, "button", 6))
- if (atoi(&(char)line[6]) == position)
+ if (atoi(line+6) == position)
break;
}
} while (1);