aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-01-08 19:08:03 -0800
committerChris Robinson <[email protected]>2019-01-08 19:08:03 -0800
commitd7eee032725ed40f42387d25b2caaadce0a54004 (patch)
tree415e187ce5f2f698913fd0f84ba1b66a0d91a633 /OpenAL32/Include/alMain.h
parent0763dfa9544e6d1013641d3c76d321e7aab74b7d (diff)
Replace a couple more C-style casts
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index f0771386..bea48296 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -292,7 +292,7 @@ inline int float2int(float f) noexcept
#else
- return (ALint)f;
+ return static_cast<ALint>(f);
#endif
}