Using '*itoa()' for compatibility with gcc 2.95

This commit is contained in:
Klaus Schmidinger 2005-01-04 11:11:16 +01:00
parent aa1738921b
commit f37f5ee6be
1 changed files with 2 additions and 2 deletions

4
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 1.324 2005/01/02 15:03:53 kls Exp $
* $Id: menu.c 1.325 2005/01/04 11:11:16 kls Exp $
*/
#include "menu.h"
@ -2813,7 +2813,7 @@ cDisplayTracks::cDisplayTracks(void)
const tTrackId *TrackId = cDevice::PrimaryDevice()->GetTrack(eTrackType(i));
if (TrackId && TrackId->id) {
types[numTracks] = eTrackType(i);
descriptions[numTracks] = strdup(*TrackId->description ? TrackId->description : *TrackId->language ? TrackId->language : itoa(i));
descriptions[numTracks] = strdup(*TrackId->description ? TrackId->description : *TrackId->language ? TrackId->language : *itoa(i));
if (i == CurrentAudioTrack)
track = numTracks;
numTracks++;