summaryrefslogtreecommitdiff
path: root/src/html/html_options_collection.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-10 19:14:49 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-10 19:14:49 +0100
commit9d45f44c90fcf800d1b865351fd083b19570ca57 (patch)
treec2b056265adfe7acd76596ab5433d2ce7f227cd3 /src/html/html_options_collection.c
parentc47dccdcb38dbf7a84892990cd56c8263e077953 (diff)
downloadlibdom-9d45f44c90fcf800d1b865351fd083b19570ca57.tar.gz
libdom-9d45f44c90fcf800d1b865351fd083b19570ca57.tar.bz2
unsigned long -> uint32_t, signed long and long -> int32_t, plus collateral fixes. Test suite does not pass
Diffstat (limited to 'src/html/html_options_collection.c')
-rw-r--r--src/html/html_options_collection.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/html/html_options_collection.c b/src/html/html_options_collection.c
index 26926bf..0583d9c 100644
--- a/src/html/html_options_collection.c
+++ b/src/html/html_options_collection.c
@@ -26,7 +26,7 @@
* \param doc The document
* \param root The root element of the collection
* \param ic The callback function used to determin whether certain node
- * belongs to the collection
+ * beint32_ts to the collection
* \param col The result collection object
* \return DOM_NO_ERR on success, appropriate dom_exception on failure.
*/
@@ -51,7 +51,7 @@ dom_exception _dom_html_options_collection_create(struct dom_html_document *doc,
* \param col The collection object to be initialised
* \param root The root element of the collection
* \param ic The callback function used to determin whether certain node
- * belongs to the collection
+ * beint32_ts to the collection
* \return DOM_NO_ERR on success.
*/
dom_exception _dom_html_options_collection_initialise(struct dom_html_document *doc,
@@ -95,7 +95,7 @@ void _dom_html_options_collection_destroy(struct dom_html_options_collection *co
* \return DOM_NO_ERR on success.
*/
dom_exception dom_html_options_collection_get_length(dom_html_options_collection *col,
- unsigned long *len)
+ uint32_t *len)
{
return dom_html_collection_get_length(&col->base, len);
}
@@ -108,7 +108,7 @@ dom_exception dom_html_options_collection_get_length(dom_html_options_collection
* \return DOM_NO_ERR on success.
*/
dom_exception dom_html_options_collection_set_length(
- dom_html_options_collection *col, unsigned long len)
+ dom_html_options_collection *col, uint32_t len)
{
UNUSED(col);
UNUSED(len);
@@ -126,7 +126,7 @@ dom_exception dom_html_options_collection_set_length(
* \return DOM_NO_ERR on success.
*/
dom_exception dom_html_options_collection_item(dom_html_options_collection *col,
- unsigned long index, struct dom_node **node)
+ uint32_t index, struct dom_node **node)
{
return dom_html_collection_item(&col->base, index, node);
}