From a77488bab4732c30044b04e97d13707e03825bdf Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 10 Sep 2012 19:14:49 +0100 Subject: unsigned long -> uint32_t, signed long and long -> int32_t, plus collateral fixes. Test suite does not pass --- src/utils/character_valid.c | 4 ++-- src/utils/hashtable.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/utils') 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 diff --git a/src/utils/hashtable.c b/src/utils/hashtable.c index db6ece8..fb7c84a 100644 --- a/src/utils/hashtable.c +++ b/src/utils/hashtable.c @@ -114,7 +114,7 @@ dom_hash_table *_dom_hash_clone(dom_hash_table *ht) * Destroys a hash table, freeing all memory associated with it. * * \param ht Hash table to destroy. After the function returns, this - * will nolonger be valid + * will noint32_ter be valid */ void _dom_hash_destroy(dom_hash_table *ht) { @@ -305,7 +305,7 @@ uint32_t _dom_hash_get_length(struct dom_hash_table *ht) * If you make changes to this hash table implementation, please rerun this * test, and if possible, through valgrind to make sure there are no memory * leaks or invalid memory accesses. If you add new functionality, please - * include a test for it that has good coverage along side the other tests. + * include a test for it that has good coverage aint32_t side the other tests. */ #ifdef TEST_RIG -- cgit v1.2.3