]> granicus.if.org Git - mutt/commitdiff
[unstable] merging changes from stable.
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 4 Jan 1999 18:05:05 +0000 (18:05 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 4 Jan 1999 18:05:05 +0000 (18:05 +0000)
curs_main.c

index 15de2c6e51efbc000528b09db48d9b709c05583b..ac958fdc44925375dafb7bb9f2e727829acdc815 100644 (file)
@@ -359,7 +359,7 @@ int mutt_index_menu (void)
        /* save the list of new messages */
        if (oldcount && check != M_REOPENED)
        {
-         save_new = (void **) safe_malloc (sizeof (HEADER *) * (Context->msgcount - oldcount));
+         save_new = (HEADER **) safe_malloc (sizeof (HEADER *) * (Context->msgcount - oldcount));
          for (j = oldcount; j < Context->msgcount; j++)
            save_new[j-oldcount] = Context->hdrs[j];
         }