summaryrefslogtreecommitdiff
path: root/src/core/text.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/core/text.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/core/text.c')
-rw-r--r--src/core/text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/text.c b/src/core/text.c
index 532ee13..94718a2 100644
--- a/src/core/text.c
+++ b/src/core/text.c
@@ -178,12 +178,12 @@ void _dom_text_finalise(dom_text *text)
* once it has finished with it.
*/
dom_exception _dom_text_split_text(dom_text *text,
- unsigned long offset, dom_text **result)
+ uint32_t offset, dom_text **result)
{
dom_node_internal *t = (dom_node_internal *) text;
dom_string *value;
dom_text *res;
- unsigned long len;
+ uint32_t len;
dom_exception err;
if (_dom_node_readonly(t)) {