pidgin/pidgin

Parents 2941deda6d8d
Children 9ceb8d25d4d9
Fix the prototypes for purple_attachment_[gs]et_size to match the actual implementation

Make prototypes for purple_attachment_[gs]et_size match the implementation.

Testing Done:
Compiled locally that wasn't showing the warning/error. I actually found it while figuring out why the macos build was failing.

Reviewed at https://reviews.imfreedom.org/r/138/
--- a/libpurple/purpleattachment.h Mon Sep 21 21:18:27 2020 -0500
+++ b/libpurple/purpleattachment.h Sun Sep 27 21:13:04 2020 -0500
@@ -178,7 +178,7 @@
*
* Since: 3.0.0
*/
-gsize purple_attachment_get_size(PurpleAttachment *attachment);
+guint64 purple_attachment_get_size(PurpleAttachment *attachment);
/**
* purple_attachment_set_size:
@@ -189,7 +189,7 @@
*
* Since: 3.0.0
*/
-void purple_attachment_set_size(PurpleAttachment *attachment, gsize size);
+void purple_attachment_set_size(PurpleAttachment *attachment, guint64 size);
/**
* purple_attachment_get_filename: