summaryrefslogtreecommitdiff
path: root/lib/xmalloc.c
diff options
context:
space:
mode:
authorPavel TvrdĂ­k <pawel.tvrdik@gmail.cz>2015-05-19 08:53:34 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2015-06-08 02:24:08 +0200
commitae80a2de95d3d3c153ce20b90c9d8757d02cb33d (patch)
treebe0c9427556557ff5b06b0250bc64ff33062199e /lib/xmalloc.c
parente348ef01b433e06888310c1098a05291034a856c (diff)
unsigned [int] -> uint
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)