From: <at...@us...> - 2007-08-16 17:22:53
|
Revision: 470 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=470&view=rev Author: atani Date: 2007-08-16 10:22:51 -0700 (Thu, 16 Aug 2007) Log Message: ----------- adding typecast to prevent compilation failure on some machines Modified Paths: -------------- tiki/osx/src/init_shutdown.cpp Modified: tiki/osx/src/init_shutdown.cpp =================================================================== --- tiki/osx/src/init_shutdown.cpp 2007-08-15 23:27:51 UTC (rev 469) +++ tiki/osx/src/init_shutdown.cpp 2007-08-16 17:22:51 UTC (rev 470) @@ -32,7 +32,7 @@ ALCdevice * dev = NULL; ALCcontext *ctx = NULL; - dev = alcOpenDevice( getenv( "OPENAL_DEVICE" ) ); // getenv()==NULL is okay. + dev = alcOpenDevice( (ALCubyte *)( getenv( "OPENAL_DEVICE" ) ) ); // getenv()==NULL is okay. if ( dev != NULL ) { ctx = alcCreateContext( dev, 0 ); if ( ctx != NULL ) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |