From 5425792229081e233ad7a4960c85f7c620b92f59 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 28 Oct 2015 14:27:13 +0000 Subject: Update character data get length property to use dom unsigned long --- include/dom/core/characterdata.h | 3 ++- test/testcases/tests/level1/core/characterdatagetlength.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/dom/core/characterdata.h b/include/dom/core/characterdata.h index 6b894fbb..fe2cd513 100644 --- a/include/dom/core/characterdata.h +++ b/include/dom/core/characterdata.h @@ -8,6 +8,7 @@ #ifndef dom_core_characterdata_h_ #define dom_core_characterdata_h_ +#include #include #include @@ -63,7 +64,7 @@ static inline dom_exception dom_characterdata_set_data( (struct dom_characterdata *) (c), (d)) static inline dom_exception dom_characterdata_get_length( - struct dom_characterdata *cdata, uint32_t *length) + struct dom_characterdata *cdata, dom_ulong *length) { return ((dom_characterdata_vtable *) ((dom_node *) cdata)->vtable)-> dom_characterdata_get_length(cdata, length); diff --git a/test/testcases/tests/level1/core/characterdatagetlength.xml b/test/testcases/tests/level1/core/characterdatagetlength.xml index 6b87ff6c..7f882869 100644 --- a/test/testcases/tests/level1/core/characterdatagetlength.xml +++ b/test/testcases/tests/level1/core/characterdatagetlength.xml @@ -32,7 +32,7 @@ See W3C License http://www.w3.org/Consortium/Legal/ for more details. - + -- cgit v1.2.1