]> git.pond.sub.org Git - empserver/blobdiff - src/client/termio.c
Remove a bunch of redundant casts.
[empserver] / src / client / termio.c
index 49885031eabcc495e4373ebc60c67d1cfeb9f24e..88bd1551df03357ebafbb6412f4bacdf7aa416bd 100644 (file)
@@ -133,8 +133,8 @@ termio(int fd, int sock, FILE *auxfi)
     while (p < buf + n && q < out + 4000) {
        if (*p == '\n') {
            if (tagging) {
-               tag = (struct tagstruct *)malloc(sizeof(struct tagstruct));
-               tag->item = (char *)malloc((1 + p - s) * sizeof(char));
+               tag = malloc(sizeof(struct tagstruct));
+               tag->item = malloc((1 + p - s) * sizeof(char));
                tag->next = taglist;
                taglist = tag;
                t = tag->item;