X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=xml%2Fcommon.c;h=7f120d85c3e1da82e73dfb28a49f693420979bed;hb=852fa2b91ae6262c164913af849fe20b55a055e8;hp=bd95b7ea86041acc4e3b3d1ac6f856b26e88204b;hpb=0192d9f3a127c82b32131d26ed9b5fb5a90db723;p=libucw.git diff --git a/xml/common.c b/xml/common.c index bd95b7ea..7f120d85 100644 --- a/xml/common.c +++ b/xml/common.c @@ -1,5 +1,5 @@ /* - * Sherlock Library -- A simple XML parser + * UCW Library -- A simple XML parser * * (c) 2007 Pavel Charvat * @@ -76,7 +76,7 @@ xml_fatal(struct xml_context *ctx, const char *format, ...) /*** Memory management ***/ void * -xml_hash_new(struct mempool *pool, uns size) +xml_hash_new(struct mempool *pool, uint size) { void *tab = mp_alloc_zero(pool, size + XML_HASH_HDR_SIZE); *(void **)tab = pool;