diff options
Diffstat (limited to 'src/if_perlsfio.c')
-rw-r--r-- | src/if_perlsfio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_perlsfio.c b/src/if_perlsfio.c index 31f0c6b3e2..f636e263b9 100644 --- a/src/if_perlsfio.c +++ b/src/if_perlsfio.c @@ -51,7 +51,7 @@ sfdcnewvim(void) { Sfdisc_t *disc; - disc = (Sfdisc_t *)alloc(sizeof(Sfdisc_t)); + disc = ALLOC_ONE(Sfdisc_t); if (disc == NULL) return NULL; |