summaryrefslogtreecommitdiffstats
path: root/usr.bin/finger/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/finger/util.c')
-rw-r--r--usr.bin/finger/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/finger/util.c b/usr.bin/finger/util.c
index 218b1bf..ec8df2e 100644
--- a/usr.bin/finger/util.c
+++ b/usr.bin/finger/util.c
@@ -244,7 +244,7 @@ palloc()
{
PERSON *p;
- if ((p = malloc((u_int) sizeof(PERSON))) == NULL)
+ if ((p = malloc(sizeof(PERSON))) == NULL)
err(1, NULL);
return(p);
}
@@ -255,7 +255,7 @@ walloc(pn)
{
WHERE *w;
- if ((w = malloc((u_int) sizeof(WHERE))) == NULL)
+ if ((w = malloc(sizeof(WHERE))) == NULL)
err(1, NULL);
if (pn->whead == NULL)
pn->whead = pn->wtail = w;
OpenPOWER on IntegriCloud