Changeset 9acedb in git


Ignore:
Timestamp:
Jul 24, 2002, 5:36:56 PM (22 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'd1d239e9808fca76a9497a01fa91ad4e8db6fba5')
Children:
4182c635a0420033c4d8e7528f2882f224075822
Parents:
7b55a0e38a9c0eb63e42fa62d62c5c184a1ac512
Message:
*hannes: make icc 6 happy


git-svn-id: file:///usr/local/Singular/svn/trunk@6218 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/fereadl.c

    r7b55a0 r9acedb  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: fereadl.c,v 1.21 2001-08-27 14:47:00 Singular Exp $ */
     4/* $Id: fereadl.c,v 1.22 2002-07-24 15:36:56 Singular Exp $ */
    55/*
    66* ABSTRACT: input from ttys, simulating fgets
     
    193193
    194194static char termcap_buff[2048];
    195 static int fe_out_char(char c)
     195static int fe_out_char(int c)
    196196{
    197197  fputc(c,fe_echo);
     
    293293
    294294      /* Extract information that termcap functions use.  */
    295       temp = tgetstr ("pc", &t_buf);
     295      temp = tgetstr ("pc", (char **)&t_buf);
    296296      PC = (temp!=NULL) ? *temp : '\0';
    297       BC=tgetstr("le",&t_buf);
    298       UP=tgetstr("up",&t_buf);
     297      BC=tgetstr("le",(char **)&t_buf);
     298      UP=tgetstr("up",(char **)&t_buf);
    299299
    300300      /* Extract information we will use */
     
    304304
    305305      /* init screen */
    306       temp = tgetstr ("ti", &t_buf);
     306      temp = tgetstr ("ti", (char **)&t_buf);
    307307      #if 0
    308308      if (temp!=NULL) tputs(temp,1,fe_out_char);
     
    456456  {
    457457    /*fputs(tgoto(tgetstr("cm",&tgoto_buf),fe_cursor_pos-1,fe_cursor_line),fe_echo);*/
    458     tputs(tgoto(tgetstr("cm",&tgoto_buf),fe_cursor_pos-1,fe_cursor_line),
     458    tputs(
     459      tgoto(tgetstr("cm",(char **)&tgoto_buf),fe_cursor_pos-1,fe_cursor_line),
    459460      pagelength,fe_out_char);
    460461    fputc(s[i-1],fe_echo);
     
    464465    /*fputs(
    465466      tgoto(tgetstr("cm",&tgoto_buf),fe_cursor_pos,fe_cursor_line),fe_echo);*/
    466     tputs(tgoto(tgetstr("cm",&tgoto_buf),fe_cursor_pos,fe_cursor_line),
     467    tputs(tgoto(tgetstr("cm",(char **)&tgoto_buf),fe_cursor_pos,fe_cursor_line),
    467468      pagelength,fe_out_char);
    468469  }
Note: See TracChangeset for help on using the changeset viewer.