summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/audio/AudioManager.cpp4
-rw-r--r--src/audio/AudioManager.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index c15d04bd..8d9d867d 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -409,13 +409,13 @@ cAudioManager::CheckForAnAudioFileOnCD() const
return SampleManager.CheckForAnAudioFileOnCD();
}
-uint8
+char
cAudioManager::GetCDAudioDriveLetter() const
{
if (m_bIsInitialised)
return SampleManager.GetCDAudioDriveLetter();
- return 0;
+ return '\0';
}
bool8
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index edf5eb63..4a888788 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -338,7 +338,7 @@ public:
void GenerateIntegerRandomNumberTable();
char *Get3DProviderName(uint8 id) const;
- uint8 GetCDAudioDriveLetter() const;
+ char GetCDAudioDriveLetter() const;
int8 GetCurrent3DProviderIndex() const;
float GetCollisionLoopingRatio(uint32 a, uint32 b, float c) const; // not used
float GetCollisionOneShotRatio(int32 a, float b) const;