pkgsrc/devel/bcc/patches/patch-al

22 lines
628 B
Text

$NetBSD: patch-al,v 1.5 2006/10/10 06:56:05 uebayasi Exp $
--- as/pops.c.orig 1993-07-11 14:43:39.000000000 +0200
+++ as/pops.c
@@ -72,7 +72,7 @@ PUBLIC bool_pt checksegrel(symptr)
register struct sym_s *symptr;
{
if ((symptr->type & LABIT ||
- symptr->data & IMPBIT && !(symptr->data & UNDBIT)) &&
+ (symptr->data & IMPBIT && !(symptr->data & UNDBIT))) &&
((symptr->data ^ lcdata) & (RELBIT | SEGM)))
{
error(SEGREL);
@@ -263,7 +263,7 @@ unsigned char impbits;
PRIVATE void dofcc()
{
register char *bufptr;
- char byte;
+ signed char byte;
char delimiter;
register char *reglineptr;