aboutsummaryrefslogtreecommitdiffstats
path: root/al/state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/state.cpp')
-rw-r--r--al/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/state.cpp b/al/state.cpp
index 07fd1314..26fbd5b3 100644
--- a/al/state.cpp
+++ b/al/state.cpp
@@ -456,7 +456,7 @@ START_API_FUNC
auto device = context->mALDevice.get();
std::lock_guard<std::mutex> device_lock{device->BufferLock};
- value = device->eax_x_ram_free_size;
+ value = static_cast<ALint>(device->eax_x_ram_free_size);
}
else
{