Got rid of two compiler warnings; one recently introduced, the
other from some time ago.
This commit is contained in:
parent
68e537b968
commit
8f9c328150
|
|
@ -32,7 +32,8 @@ EXTRA_LIBS = ${MAGICDIR}/bplane/libbplane.o \
|
|||
BITMAPS = up.gif down.gif left.gif right.gif zoom.gif lock.xbm
|
||||
DEST_XBM = $(BITMAPS:%=$(DESTDIR)${INSTALL_TCLDIR}/bitmaps/%)
|
||||
|
||||
DFLAGS += -DMAGIC_DATE="\"`date`\"" -DCAD_DIR="${LIBDIR}"
|
||||
# DFLAGS += -DMAGIC_DATE="\"`date`\"" -DCAD_DIR="${LIBDIR}"
|
||||
DFLAGS += -DMAGIC_DATE="\"`date`\""
|
||||
LIBS += ${GR_LIBS} ${READLINE_LIBS} -lm ${LD_EXTRA_LIBS} \
|
||||
${OA_LIBS} ${ZLIB_FLAG} ${TOP_EXTRA_LIBS}
|
||||
CLEANS += tclmagic${SHDLIB_EXT} libtclmagic${SHDLIB_EXT}.a proto.magicrc
|
||||
|
|
|
|||
|
|
@ -800,7 +800,7 @@ mainInitAfterArgs()
|
|||
void tcl_exit_hook(ClientData clientData)
|
||||
{
|
||||
TxResetTerminal();
|
||||
exit((int)clientData);
|
||||
exit(*(int *)clientData);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue