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

« back to all changes in this revision

Viewing changes to libstyx/scn_gen.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:
1053
1053
      t = EdgeC[StaEdg[node->id]+i];
1054
1054
          EdgeC[StaEdg[node->id]+i] = EdgeC[edgcnt-1-i];
1055
1055
                                      EdgeC[edgcnt-1-i] = t;
1056
 
      t = EdgeS[StaEdg[node->id]+i];
 
1056
      t = (wc_char)EdgeS[StaEdg[node->id]+i];
1057
1057
          EdgeS[StaEdg[node->id]+i] = EdgeS[edgcnt-1-i];
1058
1058
                                      EdgeS[edgcnt-1-i] = t;
1059
1059
    }
1172
1172
                  sprintf(buf,"%02x",c);
1173
1173
    }
1174
1174
  else
1175
 
    sprintf(buf,"%08lx",wc);
 
1175
    sprintf(buf,"%08lx",(long unsigned int)wc);
1176
1176
  (*prMsg)(buf);
1177
1177
}
1178
1178
 
1208
1208
  }
1209
1209
  else
1210
1210
  {
1211
 
    sprintf(buf,"({%08lx..%08lx}, ", x->nfa_lower, x->nfa_upper);
 
1211
    sprintf
 
1212
    (
 
1213
      buf,"({%08lx..%08lx}, ", 
 
1214
      (long unsigned int)x->nfa_lower, (long unsigned int)x->nfa_upper
 
1215
    );
1212
1216
    (*prMsg)(buf);
1213
1217
  }
1214
1218
  pGraphList(x->nfa_toNodes,-1,(void (*)(Abs_T x,StdCPtr any))pSource,scndfn);