pointer casts are evil

This commit is contained in:
Glenn Maynard
2003-07-24 20:14:11 +00:00
parent 97d06dca09
commit 49bb0233c6
+1 -1
View File
@@ -245,7 +245,7 @@ void RageLog::AddToInfo( CString str )
old_len = 0;
}
strcpy(staticlog+old_len, staticlog_buf + old_len);
strcpy(staticlog+old_len, (const char *)(staticlog_buf) + old_len);
}
const char *RageLog::GetInfo()