This commit is contained in:
jl777
2019-02-02 04:39:26 -11:00
parent 046de18981
commit 46b235b2cc
3 changed files with 5 additions and 5 deletions

View File

@@ -355,9 +355,9 @@ over:
when ']': current(rs,cur_armor, "wearing", NULL);
when '=':
current(rs,cur_ring[LEFT], "wearing",
terse ? "(L)" : "on left hand");
terse ? (char *)"(L)" : (char *)"on left hand");
current(rs,cur_ring[RIGHT], "wearing",
terse ? "(R)" : "on right hand");
terse ? (char *)"(R)" : (char *)"on right hand");
when '@':
stat_msg = TRUE;
status(rs);
@@ -784,7 +784,7 @@ norm:
{
if (*guess != NULL)
free(*guess);
*guess = malloc((unsigned int) strlen(prbuf) + 1);
*guess = (char *)malloc((unsigned int) strlen(prbuf) + 1);
strcpy(*guess, prbuf);
}
}