diff src/xmlnode.h @ 10848:98de05966d6d

[gaim-migrate @ 12520] size_t is unsigned, so -1 is technically bad committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 19 Apr 2005 04:06:57 +0000
parents 703f722d076f
children b7af9100af6c
line wrap: on
line diff
--- a/src/xmlnode.h	Tue Apr 19 04:05:55 2005 +0000
+++ b/src/xmlnode.h	Tue Apr 19 04:06:57 2005 +0000
@@ -114,7 +114,7 @@
  * @param size   The size of the data to insert.  If data is
  *               null-terminated you can pass in -1.
  */
-void xmlnode_insert_data(xmlnode *node, const char *data, size_t size);
+void xmlnode_insert_data(xmlnode *node, const char *data, gssize size);
 
 /**
  * Gets data from a node.
@@ -185,7 +185,7 @@
  *
  * @return The new node.
  */
-xmlnode *xmlnode_from_str(const char *str, size_t size);
+xmlnode *xmlnode_from_str(const char *str, gssize size);
 
 /**
  * Creates a new node from the source node.