Some minor adaptions
This commit is contained in:
parent
5f35f2b26b
commit
93e08cb946
|
@ -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 =
|
||||
|
|
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue