Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2022-04-27 02:13:46 +0300
committerTim-Philipp Müller <tim@centricular.com>2022-04-27 02:13:46 +0300
commit90c203857abee5b4921da216a2316f326489f86f (patch)
tree715881df4cb9f838271d1b1feba869e0d3c1c0bb /generic/threadshare/src/runtime
parent5aa1b7cd3bc68f57d2d17d7a5a50a36c25040b0f (diff)
threadshare: fix build on Windows
Diffstat (limited to 'generic/threadshare/src/runtime')
-rw-r--r--generic/threadshare/src/runtime/executor/async_wrapper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/threadshare/src/runtime/executor/async_wrapper.rs b/generic/threadshare/src/runtime/executor/async_wrapper.rs
index d542c950c..7d0c53dcc 100644
--- a/generic/threadshare/src/runtime/executor/async_wrapper.rs
+++ b/generic/threadshare/src/runtime/executor/async_wrapper.rs
@@ -179,7 +179,7 @@ impl<T: AsRawSocket> Async<T> {
}
}
- let source = Reactor::with_mut(|reactor| reactor.insert_io(fd))?;
+ let source = Reactor::with_mut(|reactor| reactor.insert_io(sock))?;
Ok(Async {
source,
io: Some(io),