diff --git a/dlls/hidclass.sys/buffer.c b/dlls/hidclass.sys/buffer.c index 14e83e40f5b..0b29f97b698 100644 --- a/dlls/hidclass.sys/buffer.c +++ b/dlls/hidclass.sys/buffer.c @@ -170,7 +170,7 @@ UINT RingBuffer_AddPointer(struct ReportRingBuffer *ring) for( ;count < ring->pointer_alloc; count++) ring->pointers[count] = POINTER_UNUSED; } - ring->pointers[idx] = ring->start; + ring->pointers[idx] = ring->end; LeaveCriticalSection(&ring->lock); return idx; }