=================================================================== RCS file: /home/cvs/OpenXM_contrib/gnuplot/Attic/readline.c,v retrieving revision 1.1.1.2 retrieving revision 1.1.1.3 diff -u -p -r1.1.1.2 -r1.1.1.3 --- OpenXM_contrib/gnuplot/Attic/readline.c 2000/01/22 14:16:00 1.1.1.2 +++ OpenXM_contrib/gnuplot/Attic/readline.c 2003/09/15 07:09:26 1.1.1.3 @@ -1,5 +1,5 @@ #ifndef lint -static char *RCSid = "$Id: readline.c,v 1.1.1.2 2000/01/22 14:16:00 maekawa Exp $"; +static char *RCSid = "$Id: readline.c,v 1.1.1.3 2003/09/15 07:09:26 ohara Exp $"; #endif /* GNUPLOT - readline.c */ @@ -364,7 +364,7 @@ char *prompt; free(cur_line); line_len = 0; } - cur_line = gp_alloc((unsigned long) MAXBUF, "readline"); + cur_line = gp_alloc(MAXBUF, "readline"); line_len = MAXBUF; /* set the termio so we can do our own input processing */ @@ -731,8 +731,8 @@ char *line; entry = entry->prev; } /* end of not-storing duplicated entries */ - entry = (struct hist *) gp_alloc((unsigned long) sizeof(struct hist), "history"); - entry->line = gp_alloc((unsigned long) (strlen(line) + 1), "history"); + entry = (struct hist *) gp_alloc(sizeof(struct hist), "history"); + entry->line = gp_alloc((strlen(line) + 1), "history"); strcpy(entry->line, line); entry->prev = history;