Fix more warnings and some style.

This commit is contained in:
Zach Langley
2014-11-07 21:19:32 -08:00
parent 4e27091e57
commit 0ded4cf7e2
6 changed files with 48 additions and 45 deletions

View File

@@ -133,7 +133,7 @@ static void show_messages(struct char_data *ch)
{
int i, half = MAX_MESSAGES / 2, count = 0;
char buf[MAX_STRING_LENGTH];
int len;
size_t len;
len = snprintf(buf, sizeof(buf), "\t1Message List:\tn \r\n");