aboutsummaryrefslogtreecommitdiffstats
path: root/al/state.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-03-06 01:19:41 -0800
committerChris Robinson <[email protected]>2022-03-06 01:19:41 -0800
commit1369a081a03e51add9a98fc084822cc0d5fd2461 (patch)
treec04b44c71b13fb0d094eee2aa1b9a7bd4c1c1752 /al/state.cpp
parentbe3b37b7c91b55f14a69f0fc209bbda1837c20d7 (diff)
Fix X-RAM tracking
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
{