aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c2
-rw-r--r--Alc/ALu.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index f3096b73..35dcd25d 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -671,7 +671,7 @@ void al_print(const char *fname, unsigned int line, const char *fmt, ...)
int i;
fn = strrchr(fname, '/');
- if(!fn) fn = strrchr(fname, '\\');;
+ if(!fn) fn = strrchr(fname, '\\');
if(!fn) fn = fname;
else fn += 1;
diff --git a/Alc/ALu.c b/Alc/ALu.c
index dc37bcfa..831c245a 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -997,7 +997,7 @@ DECL_TEMPLATE(ALbyte, StereoChans,2, aluF2B)
#undef DECL_TEMPLATE
-#define DECL_TEMPLATE(T, func) \
+#define DECL_TEMPLATE(T) \
static void Write_##T(ALCdevice *device, T *buffer, ALuint SamplesToDo) \
{ \
switch(device->FmtChans) \
@@ -1023,11 +1023,11 @@ static void Write_##T(ALCdevice *device, T *buffer, ALuint SamplesToDo) \
} \
}
-DECL_TEMPLATE(ALfloat, aluF2F)
-DECL_TEMPLATE(ALushort, aluF2US)
-DECL_TEMPLATE(ALshort, aluF2S)
-DECL_TEMPLATE(ALubyte, aluF2UB)
-DECL_TEMPLATE(ALbyte, aluF2B)
+DECL_TEMPLATE(ALfloat)
+DECL_TEMPLATE(ALushort)
+DECL_TEMPLATE(ALshort)
+DECL_TEMPLATE(ALubyte)
+DECL_TEMPLATE(ALbyte)
#undef DECL_TEMPLATE