wmc: Get rid of xmalloc casts.
diff --git a/tools/wmc/utils.c b/tools/wmc/utils.c
index c91902d..6b2de4c 100644
--- a/tools/wmc/utils.c
+++ b/tools/wmc/utils.c
@@ -128,7 +128,7 @@
 	namelen = strlen(name);
 
 	/* +4 for later extension and +1 for '\0' */
-	base = (char *)xmalloc(namelen +4 +1);
+	base = xmalloc(namelen +4 +1);
 	strcpy(base, name);
 	if(!strcasecmp(name + namelen-extlen, ext))
 	{
@@ -172,7 +172,7 @@
 	char *s;
 
 	assert(str != NULL);
-	s = (char *)xmalloc(strlen(str)+1);
+	s = xmalloc(strlen(str)+1);
 	return strcpy(s, str);
 }
 
@@ -198,7 +198,7 @@
 	WCHAR *s;
 
 	assert(str != NULL);
-	s = (WCHAR *)xmalloc((unistrlen(str)+1) * sizeof(WCHAR));
+	s = xmalloc((unistrlen(str)+1) * sizeof(WCHAR));
 	return unistrcpy(s, str);
 }