]> git.marmaro.de Git - mmh/blobdiff - sbr/addrsbr.c
remove unnecessary casts
[mmh] / sbr / addrsbr.c
index 96fa72f02a53ab74dbd612877300c2cfb55714c0..dc3924bfda51dbb6073ef1285bdef3fa3601ff0a 100644 (file)
@@ -104,7 +104,7 @@ getm(char *str, char *dfhost, int dftype, int wanthost, char *eresult)
                dftype = LOCALHOST;
        }
 
-       mp = (struct mailname *) mh_xcalloc((size_t) 1, sizeof(*mp));
+       mp = mh_xcalloc(1, sizeof(*mp));
        if (mp == NULL) {
                if (eresult)
                        strcpy(eresult, "insufficient memory to represent address");