summaryrefslogtreecommitdiff
path: root/lib/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xmalloc.c')
-rw-r--r--lib/xmalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xmalloc.c b/lib/xmalloc.c
index da2f0941..10bf28cf 100644
--- a/lib/xmalloc.c
+++ b/lib/xmalloc.c
@@ -24,7 +24,7 @@
* Wherever possible, please use the memory resources instead.
*/
void *
-xmalloc(unsigned size)
+xmalloc(uint size)
{
void *p = malloc(size);
if (p)
@@ -44,7 +44,7 @@ xmalloc(unsigned size)
* Wherever possible, please use the memory resources instead.
*/
void *
-xrealloc(void *ptr, unsigned size)
+xrealloc(void *ptr, uint size)
{
void *p = realloc(ptr, size);
if (p)