Lint cleanup, nothing significant.

There is one more new complaint that might cause problems:
explode.c(545): warning: conversion from long may lose accuracy
This commit is contained in:
jwalz
2003-02-19 03:18:49 +00:00
parent 39e11412b0
commit 6689de0e04
7 changed files with 12 additions and 8 deletions

View File

@@ -577,7 +577,7 @@ mdamagem(magr, mdef, mattk)
boolean cancelled;
if (touch_petrifies(pd) && !resists_ston(magr)) {
long protector = attk_protection(mattk->aatyp),
long protector = attk_protection((int)mattk->aatyp),
wornitems = magr->misc_worn_check;
/* wielded weapon gives same protection as gloves here */