diff --git a/darkice/trunk/AUTHORS b/darkice/trunk/AUTHORS index 09cc55d..1be49c0 100644 --- a/darkice/trunk/AUTHORS +++ b/darkice/trunk/AUTHORS @@ -25,4 +25,5 @@ with contributions by: Nicholas J. Humfrey Joel Ebel + Alexander Vlasov diff --git a/darkice/trunk/ChangeLog b/darkice/trunk/ChangeLog index 417d00e..c2e9fdb 100644 --- a/darkice/trunk/ChangeLog +++ b/darkice/trunk/ChangeLog @@ -1,3 +1,8 @@ +DarkIce next release + + o fix to enable compiling on 64 bit platforms + thanks to Alexander Vlasov + 19-05-2006 DarkIce 0.17.1 released o bugfix: automatic reconnect works more reliably diff --git a/darkice/trunk/man/darkice.1 b/darkice/trunk/man/darkice.1 index 7f6162a..003534a 100644 --- a/darkice/trunk/man/darkice.1 +++ b/darkice/trunk/man/darkice.1 @@ -98,6 +98,7 @@ Developed with contributions by Nicholas J. Humfrey Joel Ebel + Alexander Vlasov .SH LINKS Project homepage: diff --git a/darkice/trunk/src/LameLibEncoder.cpp b/darkice/trunk/src/LameLibEncoder.cpp index 4752f12..e294c25 100644 --- a/darkice/trunk/src/LameLibEncoder.cpp +++ b/darkice/trunk/src/LameLibEncoder.cpp @@ -79,10 +79,12 @@ LameLibEncoder :: open ( void ) lameGlobalFlags = lame_init(); // ugly lame returns -1 in a pointer on allocation errors - if ( !lameGlobalFlags || ((int)lameGlobalFlags) == -1 ) { + // this is cast to (long int) so that the pointer can be handled + // on 64 bit systems as well + if ( !lameGlobalFlags || ((long int)lameGlobalFlags) == -1 ) { throw Exception( __FILE__, __LINE__, "lame lib init error", - (int) lameGlobalFlags); + (long int) lameGlobalFlags); } if ( 0 > lame_set_num_channels( lameGlobalFlags, getInChannel()) ) {