]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/windmc.c
[PATCH] fix windmc typedef bug
[thirdparty/binutils-gdb.git] / binutils / windmc.c
index 0aae65071fd35da50cb12b1ddb04a65a6e6c4f68..98bb3ad6908dc7f25156b895170c5862b4f4b83d 100644 (file)
@@ -821,7 +821,7 @@ write_dbg (FILE *fp)
   while (h != NULL)
     {
       if (h->symbol)
-       write_dbg_define (fp, h->symbol, mcset_msg_id_typedef);
+       write_dbg_define (fp, h->symbol, h->id_typecast);
       h = h->next;
     }
   fprintf (fp, "  { (");
@@ -908,7 +908,7 @@ write_header (FILE *fp)
            fprintf (fp, "%s", s);
        }
       if (h->symbol)
-       write_header_define (fp, h->symbol, h->vid, mcset_msg_id_typedef, h->sub);
+       write_header_define (fp, h->symbol, h->vid, h->id_typecast, h->sub);
       h = h->next;
     }
 }