Do away with LPCTSTR. (We're not making a Unicode build, and if

we were it's not being used everywhere it would need to be.  If we want
Unicode support, that's probably not the way to do it anyway ...)
This commit is contained in:
Glenn Maynard
2002-08-28 07:04:52 +00:00
parent 6c6b50ac6b
commit f8916ab31d
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ RageSound::~RageSound()
void RageSound::PlayOnceStreamed( CString sPath )
{
HSTREAM hStream = BASS_StreamCreateFile( FALSE, (void*)((LPCTSTR)sPath), 0, 0, BASS_STREAM_AUTOFREE );
HSTREAM hStream = BASS_StreamCreateFile( FALSE, const_cast<char*>((const char *)sPath), 0, 0, BASS_STREAM_AUTOFREE );
if( hStream == NULL )
throw RageException( "RageSound: Error creating stream." );