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 */