mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 01:43:00 +02:00
Got rid of two compiler warnings; one recently introduced, the
other from some time ago.
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -800,7 +800,7 @@ mainInitAfterArgs()
|
||||
void tcl_exit_hook(ClientData clientData)
|
||||
{
|
||||
TxResetTerminal();
|
||||
exit((int)clientData);
|
||||
exit(*(int *)clientData);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user