summaryrefslogtreecommitdiff
path: root/internal/eventloop.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-03-19 22:30:27 +0200
committerPaul Buetow <paul@buetow.org>2025-03-19 22:30:27 +0200
commit564bd412b253a89709c7b099918fe4c21540dbe5 (patch)
treef06a15a3082139e8b82807195f4021c4018ed145 /internal/eventloop.go
parent0cbf33424a4034bc18c433cb6bf8fd72544a05b4 (diff)
more
Diffstat (limited to 'internal/eventloop.go')
-rw-r--r--internal/eventloop.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/eventloop.go b/internal/eventloop.go
index 497522f..321b83f 100644
--- a/internal/eventloop.go
+++ b/internal/eventloop.go
@@ -119,7 +119,7 @@ func (e *eventLoop) events(ctx context.Context, rawCh <-chan []byte) <-chan *eve
return ch
}
-func (e *eventLoop) processRawEvent(raw []byte, ch chan *event.Pair) {
+func (e *eventLoop) processRawEvent(raw []byte, ch chan<- *event.Pair) {
e.numTracepoints++
switch EventType(raw[0]) {
case ENTER_OPEN_EVENT: