summaryrefslogtreecommitdiff
path: root/usr.bin/tset
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tset')
-rw-r--r--usr.bin/tset/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tset/map.c b/usr.bin/tset/map.c
index 3d6a7c16c227..a86d7c47b7c2 100644
--- a/usr.bin/tset/map.c
+++ b/usr.bin/tset/map.c
@@ -83,7 +83,7 @@ add_mapping(port, arg)
char *copy, *p, *termp;
copy = strdup(arg);
- mapp = malloc((u_int)sizeof(MAP));
+ mapp = malloc(sizeof(MAP));
if (copy == NULL || mapp == NULL)
errx(1, "malloc");
mapp->next = NULL;