Commits

Anonymous committed f0e3312

Avoid compiler warnings for -ansi -pedantic.

  • Participants
  • Parent commits 02c0c20

Comments (0)

Files changed (2)

File src/maentw.c

  */
 void procstr(char *s)
 {
-  char *h=strdup(s);
+  char *h=(char *)strdup(s);
   char *g, *gg;
   g = h;
 
     }
   new = (struct word *) malloc(sizeof(struct word));
   strcpy(new->name, name);
-  new->macro = strdup(macro);
+  new->macro = (char *)strdup(macro);
   new->fcn = fcn;
 
   new->next = whead;
  */
 void procstr(char *s)
 {
-  char *h=strdup(s);
+  char *h=(char *)strdup(s);
   char *g;
   g = strtok(h, " ");
   while (g)