From 56b3914e84daeb74867251603aaaa2ee3fde89dc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 May 2022 17:47:58 -0400 Subject: Fix View::acceptOffer parameter type --- bindings/cpp/include/pugl/pugl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bindings') 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(puglAcceptOffer(cobj(), &offer, typeIndex)); } -- cgit v1.2.1