summaryrefslogtreecommitdiff
path: root/src/protocols/core/DataDevice.cpp
diff options
context:
space:
mode:
authorHonkazel <169346573+Honkazel@users.noreply.github.com>2025-02-09 02:00:55 +0500
committerGitHub <noreply@github.com>2025-02-08 22:00:55 +0100
commit8e10ddb592977ef2e1836e75b0e5550ba8fb56f0 (patch)
tree6dc304cdda964fb5777b0e14d0b049921224fc90 /src/protocols/core/DataDevice.cpp
parentfeb8ad48f0153a15b96356f280dbd04849db0e04 (diff)
datadevice: fix wrong param (#9370)
Reason: look at the setReceive parameters and also at the next line(tries to narrow)
Diffstat (limited to 'src/protocols/core/DataDevice.cpp')
-rw-r--r--src/protocols/core/DataDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/core/DataDevice.cpp b/src/protocols/core/DataDevice.cpp
index 0931608a..25117265 100644
--- a/src/protocols/core/DataDevice.cpp
+++ b/src/protocols/core/DataDevice.cpp
@@ -39,7 +39,7 @@ CWLDataOfferResource::CWLDataOfferResource(SP<CWlDataOffer> resource_, SP<IDataS
accepted = mime;
});
- resource->setReceive([this](CWlDataOffer* r, const char* mime, uint32_t fd) {
+ resource->setReceive([this](CWlDataOffer* r, const char* mime, int fd) {
CFileDescriptor sendFd{fd};
if (!source) {
LOGM(WARN, "Possible bug: Receive on an offer w/o a source");