summaryrefslogtreecommitdiff
path: root/usr.bin/sed/defs.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2017-12-13 16:06:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2017-12-13 16:06:35 +0000
commitec68f3cc37751c992922cfdd2e1688c90e30acc9 (patch)
tree5ab82efd62995f182aec2269944762beebcfa59e /usr.bin/sed/defs.h
parent4eb70313840ccec5854ddddac5b1030fa86af4fe (diff)
Fix sign compare warnings; OK martijn@
Diffstat (limited to 'usr.bin/sed/defs.h')
-rw-r--r--usr.bin/sed/defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sed/defs.h b/usr.bin/sed/defs.h
index 4864d620399..2543401c010 100644
--- a/usr.bin/sed/defs.h
+++ b/usr.bin/sed/defs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: defs.h,v 1.8 2017/01/20 10:26:16 krw Exp $ */
+/* $OpenBSD: defs.h,v 1.9 2017/12/13 16:06:34 millert Exp $ */
/*-
* Copyright (c) 1992 Diomidis Spinellis.
* Copyright (c) 1992, 1993
@@ -63,7 +63,7 @@ struct s_subst {
char *wfile; /* NULL if no wfile */
int wfd; /* Cached file descriptor */
regex_t *re; /* Regular expression */
- int maxbref; /* Largest backreference. */
+ u_int maxbref; /* Largest backreference. */
u_long linenum; /* Line number. */
char *new; /* Replacement text */
};