From 53c5275aa4ea9c42d850cf3f2d9fe589a7c84924 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 14 Jun 2011 04:02:58 -0700 Subject: Use a proper enum for the probe type --- Alc/opensl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/opensl.c') diff --git a/Alc/opensl.c b/Alc/opensl.c index 89b1d36f..0f8f02f3 100644 --- a/Alc/opensl.c +++ b/Alc/opensl.c @@ -415,7 +415,7 @@ void alc_opensl_deinit(void) { } -void alc_opensl_probe(int type) +void alc_opensl_probe(enum DevProbe type) { switch(type) { @@ -425,7 +425,7 @@ void alc_opensl_probe(int type) case ALL_DEVICE_PROBE: AppendAllDeviceList(opensl_device); break; - default: + case CAPTURE_DEVICE_PROBE: break; } } -- cgit v1.2.3