aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-11 22:27:37 -0800
committerChris Robinson <[email protected]>2018-11-11 22:27:37 -0800
commitc66db3cdf63f13a7d30b0e2b86a60661216e28a5 (patch)
treea14f7d6e3b1c40dde511fb4790040311f5ad6f70 /Alc/helpers.cpp
parentc23ea494eabd1695b8c43f00bff4b5820c0cd56c (diff)
Use the correct type for __control87_2
Diffstat (limited to 'Alc/helpers.cpp')
-rw-r--r--Alc/helpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/helpers.cpp b/Alc/helpers.cpp
index 0505c729..ce526c1e 100644
--- a/Alc/helpers.cpp
+++ b/Alc/helpers.cpp
@@ -297,7 +297,7 @@ void RestoreFPUMode(const FPUCtl *ctl)
#elif defined(HAVE___CONTROL87_2)
- int mode;
+ unsigned int mode;
__control87_2(ctl->state, _MCW_DN, &mode, nullptr);
__control87_2(ctl->sse_state, _MCW_DN, nullptr, &mode);