aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-28 17:47:58 -0400
committerDavid Robillard <d@drobilla.net>2022-05-28 17:47:58 -0400
commit56b3914e84daeb74867251603aaaa2ee3fde89dc (patch)
tree054df2b1fa1c9e7c3f9f464c08e02f28c3fd8801
parentf41335eb6559bd3da64470ffe32a0e68899c11bd (diff)
downloadpugl-56b3914e84daeb74867251603aaaa2ee3fde89dc.tar.gz
pugl-56b3914e84daeb74867251603aaaa2ee3fde89dc.tar.bz2
pugl-56b3914e84daeb74867251603aaaa2ee3fde89dc.zip
Fix View::acceptOffer parameter type
-rw-r--r--bindings/cpp/include/pugl/pugl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/cpp/include/pugl/pugl.hpp b/bindings/cpp/include/pugl/pugl.hpp
index 8e74278..6dd5042 100644
--- a/bindings/cpp/include/pugl/pugl.hpp
+++ b/bindings/cpp/include/pugl/pugl.hpp
@@ -593,7 +593,7 @@ public:
the `typeIndex` argument to the call of puglGetClipboardType() that
returned the accepted type.
*/
- Status acceptOffer(const DataOfferEvent& offer, const size_t typeIndex)
+ Status acceptOffer(const DataOfferEvent& offer, const uint32_t typeIndex)
{
return static_cast<Status>(puglAcceptOffer(cobj(), &offer, typeIndex));
}