[BACK]Return to apprentice.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / file

Diff for /src/usr.bin/file/Attic/apprentice.c between version 1.13 and 1.14

version 1.13, 2002/03/14 06:51:41 version 1.14, 2002/06/05 13:46:44
Line 133 
Line 133 
 /*  /*
  * extend the sign bit if the comparison is to be signed   * extend the sign bit if the comparison is to be signed
  */   */
 uint32  uint32_t
 signextend(m, v)  signextend(m, v)
 struct magic *m;  struct magic *m;
 uint32 v;  uint32_t v;
 {  {
         if (!(m->flag & UNSIGNED))          if (!(m->flag & UNSIGNED))
                 switch(m->type) {                  switch(m->type) {
Line 159 
Line 159 
                 case LONG:                  case LONG:
                 case BELONG:                  case BELONG:
                 case LELONG:                  case LELONG:
                         v = (int32) v;                          v = (int32_t) v;
                         break;                          break;
                 case STRING:                  case STRING:
                         break;                          break;

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14