From 0cf996c5602d0bd03a0e46e95f62a347ccb043e8 Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Wed, 1 Oct 2008 18:36:54 +0200 Subject: [PATCH] [util.c] Fix emalloc --- util.c | 2 +- wmfs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util.c b/util.c index ec7ea39..454290a 100644 --- a/util.c +++ b/util.c @@ -33,7 +33,7 @@ #include "wmfs.h" void* -emalloc(unsigned int element, size_t size) +emalloc(unsigned int element, unsigned int size) { void *ret = calloc(element, size); diff --git a/wmfs.h b/wmfs.h index bf405e4..bbc245a 100644 --- a/wmfs.h +++ b/wmfs.h @@ -209,7 +209,7 @@ void unmapnotify(XEvent ev); void getevent(void); /* util.c */ -void *emalloc(unsigned int elemet, size_t size); +void *emalloc(unsigned int elemet, unsigned int size); void spawn(char *cmd); /* layout.c */