Warning cleanup.
This commit is contained in:
+1
-1
@@ -390,7 +390,7 @@ E NEARDATA struct savefile_info sfcap, sfrestinfo, sfsaveinfo;
|
|||||||
|
|
||||||
struct autopickup_exception {
|
struct autopickup_exception {
|
||||||
struct nhregex *regex;
|
struct nhregex *regex;
|
||||||
const char *pattern;
|
char *pattern;
|
||||||
boolean grab;
|
boolean grab;
|
||||||
struct autopickup_exception *next;
|
struct autopickup_exception *next;
|
||||||
};
|
};
|
||||||
|
|||||||
+2
-2
@@ -199,9 +199,9 @@ bot1()
|
|||||||
mbot[k] += 'A' - 'a';
|
mbot[k] += 'A' - 'a';
|
||||||
k++;
|
k++;
|
||||||
}
|
}
|
||||||
Sprintf(nb = eos(nb), mbot);
|
Strcpy(nb = eos(nb), mbot);
|
||||||
} else
|
} else
|
||||||
Sprintf(nb = eos(nb), rank());
|
Strcpy(nb = eos(nb), rank());
|
||||||
|
|
||||||
Sprintf(nb = eos(nb), " ");
|
Sprintf(nb = eos(nb), " ");
|
||||||
i = mrank_sz + 15;
|
i = mrank_sz + 15;
|
||||||
|
|||||||
+1
-1
@@ -59,7 +59,7 @@ const char *shout;
|
|||||||
pline("%s yells:", Amonnam(mon));
|
pline("%s yells:", Amonnam(mon));
|
||||||
else
|
else
|
||||||
You_hear("someone yell:");
|
You_hear("someone yell:");
|
||||||
verbalize(shout);
|
verbalize1(shout);
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC_OVL void
|
STATIC_OVL void
|
||||||
|
|||||||
+1
-1
@@ -4554,7 +4554,7 @@ const char *mapping;
|
|||||||
free(ape);
|
free(ape);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
ape->pattern = alloc(strlen(text2) + 1);
|
ape->pattern = (char *)alloc(strlen(text2) + 1);
|
||||||
strcpy(ape->pattern, text2);
|
strcpy(ape->pattern, text2);
|
||||||
ape->grab = grab;
|
ape->grab = grab;
|
||||||
ape->next = *apehead;
|
ape->next = *apehead;
|
||||||
|
|||||||
Reference in New Issue
Block a user