=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sed/compile.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/sed/compile.c 1996/06/26 05:39:05 1.2 --- src/usr.bin/sed/compile.c 1997/04/28 20:23:19 1.3 *************** *** 1,4 **** ! /* $OpenBSD: compile.c,v 1.2 1996/06/26 05:39:05 deraadt Exp $ */ /*- * Copyright (c) 1992 Diomidis Spinellis. --- 1,4 ---- ! /* $OpenBSD: compile.c,v 1.3 1997/04/28 20:23:19 millert Exp $ */ /*- * Copyright (c) 1992 Diomidis Spinellis. *************** *** 39,45 **** #ifndef lint /* from: static char sccsid[] = "@(#)compile.c 8.1 (Berkeley) 6/6/93"; */ ! static char *rcsid = "$OpenBSD: compile.c,v 1.2 1996/06/26 05:39:05 deraadt Exp $"; #endif /* not lint */ #include --- 39,45 ---- #ifndef lint /* from: static char sccsid[] = "@(#)compile.c 8.1 (Berkeley) 6/6/93"; */ ! static char *rcsid = "$OpenBSD: compile.c,v 1.3 1997/04/28 20:23:19 millert Exp $"; #endif /* not lint */ #include *************** *** 676,682 **** case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': a->type = AT_LINE; ! a->u.l = strtol(p, &end, 10); return (end); default: err(COMPILE, "expected context address"); --- 676,682 ---- case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': a->type = AT_LINE; ! a->u.l = strtoul(p, &end, 10); return (end); default: err(COMPILE, "expected context address");