diff libpurple/util.h @ 19408:cc36a5aac908

Fix some conversion warnings about using negative values with unsigned types. There are more, but these were easy fixes. You may think that I'm changing the API, but I'm really not - it was just wrong.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 24 Aug 2007 19:43:41 +0000
parents 700b642631bc
children 47a2d00ab060 5e76304ebcc8
line wrap: on
line diff
--- a/libpurple/util.h	Fri Aug 24 15:58:46 2007 +0000
+++ b/libpurple/util.h	Fri Aug 24 19:43:41 2007 +0000
@@ -586,7 +586,7 @@
  * @return TRUE if the file was written successfully.  FALSE otherwise.
  */
 gboolean purple_util_write_data_to_file(const char *filename, const char *data,
-									  size_t size);
+									  gssize size);
 
 /**
  * Read the contents of a given file and parse the results into an
@@ -1113,7 +1113,7 @@
  * @return TRUE if it starts with "/me ", and it has been removed, otherwise
  *         FALSE
  */
-gboolean purple_message_meify(char *message, size_t len);
+gboolean purple_message_meify(char *message, gssize len);
 
 /**
  * Removes the underscore characters from a string used identify the mnemonic