From 81d17bb80f77cc5d078547b5fb102a2b44fecee0 Mon Sep 17 00:00:00 2001
From: Chris Robinson <chris.kcat@gmail.com>
Date: Mon, 12 Aug 2019 14:30:47 -0700
Subject: Fix some return types

---
 al/source.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'al')

diff --git a/al/source.cpp b/al/source.cpp
index b20f6e81..018e49a0 100644
--- a/al/source.cpp
+++ b/al/source.cpp
@@ -1552,7 +1552,7 @@ bool GetSourcedv(ALsource *Source, ALCcontext *Context, SourceProp prop, const a
     ClockLatency clocktime;
     std::chrono::nanoseconds srcclock;
     ALint ivals[MaxValues];
-    ALboolean err;
+    bool err;
 
     switch(prop)
     {
@@ -1719,7 +1719,7 @@ bool GetSourcedv(ALsource *Source, ALCcontext *Context, SourceProp prop, const a
         case AL_SOURCE_RESAMPLER_SOFT:
         case AL_SOURCE_SPATIALIZE_SOFT:
             CHECKSIZE(values, 1);
-            if((err=GetSourceiv(Source, Context, prop, {ivals, 1u})) != AL_FALSE)
+            if((err=GetSourceiv(Source, Context, prop, {ivals, 1u})) != false)
                 values[0] = static_cast<ALdouble>(ivals[0]);
             return err;
 
@@ -1740,7 +1740,7 @@ bool GetSourceiv(ALsource *Source, ALCcontext *Context, SourceProp prop, const a
 {
     ALbufferlistitem *BufferList;
     ALdouble dvals[MaxValues];
-    ALboolean err;
+    bool err;
 
     switch(prop)
     {
@@ -1926,7 +1926,7 @@ bool GetSourcei64v(ALsource *Source, ALCcontext *Context, SourceProp prop, const
     std::chrono::nanoseconds srcclock;
     ALdouble dvals[MaxValues];
     ALint ivals[MaxValues];
-    ALboolean err;
+    bool err;
 
     switch(prop)
     {
@@ -1956,7 +1956,7 @@ bool GetSourcei64v(ALsource *Source, ALCcontext *Context, SourceProp prop, const
             CHECKSIZE(values, 2);
             values[0] = GetSourceSampleOffset(Source, Context, &srcclock);
             values[1] = srcclock.count();
-            return AL_TRUE;
+            return true;
 
         /* 1x float/double */
         case AL_CONE_INNER_ANGLE:
-- 
cgit v1.2.3