]> diplodocus.org Git - nmh/blobdiff - sbr/brkstring.c
Replace some ints that are only ever 0 or 1 with bool.
[nmh] / sbr / brkstring.c
index f0f43693695c26287ad9817c98027a00b035de56..0f7c17fce4e0a966d6e48d0853675f1f5c4e336c 100644 (file)
@@ -30,7 +30,7 @@ brkstring (char *str, char *brksep, char *brkterm)
     /* allocate initial space for pointers on first call */
     if (!broken) {
        len = NUMBROKEN;
     /* allocate initial space for pointers on first call */
     if (!broken) {
        len = NUMBROKEN;
-       broken = (char **) mh_xmalloc ((size_t) (len * sizeof(*broken)));
+       broken = mh_xmalloc ((size_t) (len * sizeof(*broken)));
     }
 
     /*
     }
 
     /*