in_alias = TRUE;
/* Allocate space for ga_list if necesary. */
expand_ga_list();
- if (!(ga_list[ga_list_len-1].alias = strdup($1))){
+ if (!(ga_list[ga_list_len-1].alias = (char *) strdup($1))){
(void) fprintf(stderr,
"%s: cannot allocate memory!\n", Argv[0]);
exit(1);
in_alias = TRUE;
/* Allocate space for ga_list if necesary. */
expand_ga_list();
- if (!(ga_list[ga_list_len-1].alias = strdup($1))){
+ if (!(ga_list[ga_list_len-1].alias = (char *) strdup($1))){
(void) fprintf(stderr,
"%s: cannot allocate memory!\n", Argv[0]);
exit(1);
*/
if ((p = strchr(host, '.'))) {
*p = '\0';
- if ((shost = strdup(host)) == NULL) {
+ if ((shost = (char *) strdup(host)) == NULL) {
(void) fprintf(stderr, "%s: cannot allocate memory!\n", Argv[0]);
exit(1);
}
if ((p = strchr(host, '.'))) {
*p = '\0';
- if ((shost = strdup(host)) == NULL) {
+ if ((shost = (char *) strdup(host)) == NULL) {
(void) fprintf(stderr, "%s: cannot allocate memory!\n", Argv[0]);
exit(1);
}