Add Strlen(), a strlen(3) that panics if string is stupid long and returns unsigned.
First batch of changes to use it to suppress warnings.
This commit is contained in:
@@ -388,7 +388,7 @@ void
|
||||
make_engr_at(int x, int y, const char *s, long e_time, xchar e_type)
|
||||
{
|
||||
struct engr *ep;
|
||||
unsigned smem = strlen(s) + 1;
|
||||
unsigned smem = Strlen(s) + 1;
|
||||
|
||||
if ((ep = engr_at(x, y)) != 0)
|
||||
del_engr(ep);
|
||||
|
||||
Reference in New Issue
Block a user