(*** This bug was imported into bugs.kde.org ***) Package: kmidi Version: KDE 2.2.0 CVS/CVSup/Snapshot Severity: normal Installed from: Compiled sources Compiler: gcc 2.95.3 OS: Linux OS/Compiler notes: alsa-0.5.11 For some time now compilation of kmidi fails due to some unallowed typecasts... This is really trivial to fix though. In alsa_a.cpp the "__handle" argument used in the snd_... calls is declared as void* and must be casted to snd_pcm_t*. (Submitted via bugs.kde.org)
This bug was reported against 2.2.0. It is still existing in 2.2.1. The fix is simply to change the function declaration on line 257 of alsa_a.cpp from: static int set_playback_info (void* handle__ ....... ) to: static int set_playback_info (snd_pcm_t* handle__ ....... ) This 30-second change should not slip through the next bugfix release of KDE.
....might be worth puttting the fix in the INSTALL file. Berni
Has this change slipped through the next bugfix release of KDE? If so, I apologize. --Russell
Please follow #39574 to track additional progress on this bug, as the action taken to resolve that bug will also solve this bug. *** This bug has been marked as a duplicate of 39574 ***