Fix compile warnings

This commit is contained in:
Steve Checkoway
2003-08-01 12:12:02 +00:00
parent 2dcb5f7a9e
commit 8c6ba0f506
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ static char backlog[BACKLOG_LINES][1024];
static int backlog_start=0, backlog_cnt=0;
void RageLog::AddToRecentLogs( CString str )
{
int len = str.size();
unsigned len = str.size();
if(len > sizeof(backlog[backlog_start])-1)
len = sizeof(backlog[backlog_start])-1;