From 621b3d915e7fca383a63609eed2e0aa920098dac Mon Sep 17 00:00:00 2001 From: tholo Date: Wed, 30 Apr 1997 05:53:51 +0000 Subject: [PATCH] Be specific about using unsigned values --- lib/libc/regex/regex2.h | 46 ++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/lib/libc/regex/regex2.h b/lib/libc/regex/regex2.h index d41cb97f720..18f37eb2931 100644 --- a/lib/libc/regex/regex2.h +++ b/lib/libc/regex/regex2.h @@ -1,4 +1,4 @@ -/* $OpenBSD: regex2.h,v 1.4 1997/04/28 20:45:00 millert Exp $ */ +/* $OpenBSD: regex2.h,v 1.5 1997/04/30 05:53:51 tholo Exp $ */ /*- * Copyright (c) 1992, 1993, 1994 Henry Spencer. @@ -79,34 +79,34 @@ */ typedef unsigned long sop; /* strip operator */ typedef long sopno; -#define OPRMASK 0xf8000000L -#define OPDMASK 0x07ffffffL +#define OPRMASK 0xf8000000LU +#define OPDMASK 0x07ffffffLU #define OPSHIFT ((unsigned)27) #define OP(n) ((n)&OPRMASK) #define OPND(n) ((n)&OPDMASK) #define SOP(op, opnd) ((op)|(opnd)) /* operators meaning operand */ /* (back, fwd are offsets) */ -#define OEND (1L<