summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/irs_ring_lifo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/hid/irs_ring_lifo.h')
-rw-r--r--src/core/hle/service/hid/irs_ring_lifo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/irs_ring_lifo.h b/src/core/hle/service/hid/irs_ring_lifo.h
index a31e61037..255d1d296 100644
--- a/src/core/hle/service/hid/irs_ring_lifo.h
+++ b/src/core/hle/service/hid/irs_ring_lifo.h
@@ -36,7 +36,7 @@ struct Lifo {
}
void WriteNextEntry(const State& new_state) {
- if (buffer_count < max_buffer_size) {
+ if (buffer_count < static_cast<s64>(max_buffer_size)) {
buffer_count++;
}
sampling_number++;