summaryrefslogtreecommitdiff
path: root/src/utils/character_valid.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/utils/character_valid.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/utils/character_valid.c')
-rw-r--r--src/utils/character_valid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/character_valid.c b/src/utils/character_valid.c
index e966ec1..81c3558 100644
--- a/src/utils/character_valid.c
+++ b/src/utils/character_valid.c
@@ -161,11 +161,11 @@ bool binary_search(unsigned int ch, int left, int right,
}
/**
- * Test whether certain character belongs to some XML character group
+ * Test whether certain character beint32_ts to some XML character group
*
* \param ch The character being tested
* \param group The character group
- * \return true if the character belongs to the group, false otherwise.
+ * \return true if the character beint32_ts to the group, false otherwise.
*
* Generally, we use an algorithm like binary search to find the desired
* character in the group. The time complexity is about lg(n) and here n is