Some minor adaptions

This commit is contained in:
ceriel 1987-10-15 12:42:55 +00:00
parent 5f35f2b26b
commit 93e08cb946
2 changed files with 4 additions and 3 deletions

View file

@ -6,10 +6,11 @@
EMHOME = ../..
LIBDIR= $(EMHOME)/lib
MODLIBDIR = $(EMHOME)/modules/lib
PREFLAGS= -I$(EMHOME)/h -DNDEBUG -DNASSERT
CFLAGS = $(PREFLAGS) -O
LDFLAGS = -i
LDLIBS = $(EMHOME)/modules/lib/libstring.a $(EMHOME)/modules/lib/libobject.a
LDLIBS = $(MODLIBDIR)/libstring.a $(MODLIBDIR)/libobject.a
LINTFLAGS=-phbxa $(PREFLAGS)
PR = pr
PRFLAGS =

View file

@ -61,13 +61,13 @@ adjust_names(name, head, chars)
register char *chars;
{
register int cnt;
register ind_t charoff;
register long charoff;
cnt = head->oh_nname;
charoff = OFF_CHAR(*head);
while (cnt--) {
if (name->on_foff != (long)0)
name->on_mptr = chars + name->on_foff - charoff;
name->on_mptr = chars + (ind_t)(name->on_foff - charoff);
name++;
}
}