summaryrefslogtreecommitdiffstats
path: root/Alc/backends/mmdevapi.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-11-25 17:29:39 -0800
committerChris Robinson <[email protected]>2013-11-25 17:29:39 -0800
commit80ea801204cec06b26ac8823747ad0981165822c (patch)
tree4ba696fe3fb56d042d779a994051112380e2229e /Alc/backends/mmdevapi.c
parent191e8172f0ed00f423f7806b3b52b95d1dab53cc (diff)
Add a macro for GCC to ensure stack alignment
Diffstat (limited to 'Alc/backends/mmdevapi.c')
-rw-r--r--Alc/backends/mmdevapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/mmdevapi.c b/Alc/backends/mmdevapi.c
index 8bbbbddb..fa7c54f9 100644
--- a/Alc/backends/mmdevapi.c
+++ b/Alc/backends/mmdevapi.c
@@ -220,7 +220,7 @@ static DevMap *ProbeDevices(IMMDeviceEnumerator *devenum, EDataFlow flowdir, ALu
}
-static ALuint MMDevApiProc(ALvoid *ptr)
+FORCE_ALIGN static ALuint MMDevApiProc(ALvoid *ptr)
{
ALCdevice *device = ptr;
MMDevApiData *data = device->ExtraData;