[util.c] Fix emalloc

This commit is contained in:
Martin Duquesnoy 2008-10-01 18:36:54 +02:00
parent 2cdd6bc895
commit 0cf996c560
2 changed files with 2 additions and 2 deletions

2
util.c
View File

@ -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);

2
wmfs.h
View File

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