Fix some warnings on the unconditionals branch.

This commit is contained in:
Sean Hunt
2015-02-16 02:09:57 -05:00
parent a3faa93403
commit 17ea9ff9ab
3 changed files with 9 additions and 3 deletions

View File

@@ -1597,7 +1597,7 @@ start_eating(otmp) /* called as you start to eat */
{
const char *old_nomovemsg, *save_nomovemsg;
debugpline("start_eating: %lx (victual = %lx)", otmp, context.victual.piece);
debugpline("start_eating: %p (victual = %p)", otmp, context.victual.piece);
debugpline("reqtime = %d", context.victual.reqtime);
debugpline("(original reqtime = %d)", objects[otmp->otyp].oc_delay);
debugpline("nmod = %d", context.victual.nmod);

View File

@@ -12,6 +12,10 @@
#define QTEXT_FILE "quest.dat"
#ifdef TTY_GRAPHICS
#include "wintty.h"
#endif
/* from sp_lev.c, for deliver_splev_message() */
extern char *lev_message;
@@ -49,7 +53,9 @@ dump_qtlist() /* dump the character msg list to check appearance */
for (msg = qt_list.chrole; msg->msgnum > 0; msg++) {
pline("msgnum %d: delivery %c",
msg->msgnum, msg->delivery);
#ifdef TTY_GRAPHICS
more();
#endif
(void) dlb_fseek(msg_file, msg->offset, SEEK_SET);
deliver_by_window(msg, NHW_TEXT);
}