remove unnecessary casts
[mmh] / sbr / seq_list.c
index 241c720..3606f6f 100644 (file)
@@ -27,7 +27,7 @@ seq_list(struct msgs *mp, char *seqname)
        /* On first invocation, allocate initial buffer space */
        if (!buffer) {
                len = MAXBUFFER;
-               buffer = mh_xcalloc((size_t) len, sizeof(char));
+               buffer = mh_xcalloc(len, sizeof(char));
        }
 
        /*
@@ -72,7 +72,7 @@ seq_list(struct msgs *mp, char *seqname)
                        char *newbuf;
 
                        len += MAXBUFFER;
-                       newbuf = mh_xrealloc(buffer, (size_t) len);
+                       newbuf = mh_xrealloc(buffer, len);
                        bp = newbuf + (bp - buffer);
                        buffer = newbuf;
                }