~ubuntu-branches/ubuntu/trusty/styx/trusty

« back to all changes in this revision

Viewing changes to libbase/scn_base.c

  • Committer: Bazaar Package Importer
  • Author(s): Frederik Schüler
  • Date: 2007-07-01 23:06:53 UTC
  • mfrom: (0.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070701230653-8tcr3ow0d49alwj2
Tags: 1.7.5-1
* New upstream version.
* Bump standard to 2.7.2, no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
  ROW(wc_char) cBackBuf; /* lookahead back buffer */
144
144
  MAP(int,_)   cCSkip;   /* characters to skip */
145
145
  /* Scanner */
 
146
  short      Group;    /* Group index or -1                              */
146
147
  scn_t      cScanner; /* Following variables are unpacked from cScanner */
147
 
  short      Group;    /* Group index or -1                              */
148
148
  long      *cStaEdg;  /* Note that this array will be offset in Scn_bgn */
149
149
  short     *cStaFin;
150
150
  wc_char   *cEdgeC;
689
689
    buf[1] = p[i+1];
690
690
    buf[2] = p[i+2];
691
691
    buf[3] = '\0';
692
 
    c1 = atoi(buf);
 
692
    c1 = atoi((const char*)buf);
693
693
    if( i == 0 )
694
694
    {
695
695
      if( seq )
712
712
      buf[1] = p[i+1];
713
713
      buf[2] = p[i+2];
714
714
      buf[3] = '\0';
715
 
      c2 = atoi(buf);
 
715
      c2 = atoi((const char*)buf);
716
716
      while( ++c1 <= c2 )
717
717
      {
718
718
        Sink_printf(snk,"%c",(c_byte)c1);