From 49bb0233c688e2cf22bd73aefeffae81bb7625fd Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 24 Jul 2003 20:14:11 +0000 Subject: [PATCH] pointer casts are evil --- stepmania/src/RageLog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageLog.cpp b/stepmania/src/RageLog.cpp index bf0afbc07e..e420dafdb1 100644 --- a/stepmania/src/RageLog.cpp +++ b/stepmania/src/RageLog.cpp @@ -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()