~mkindahl/drizzle/remove-mem-casts

« back to all changes in this revision

Viewing changes to server/unireg.cc

  • Committer: Brian Aker
  • Date: 2008-07-23 00:11:39 UTC
  • Revision ID: brian@tangent.org-20080723001139-967ewfngqqotwb6e
Removed final uint dead types.

Show diffs side-by-side

added added

removed removed

Lines of Context:
467
467
      pos[2]=(uchar) (length+1);
468
468
      pos=(uchar*) strmake((char*) pos+3,cfield->field_name,length)+1;
469
469
    }
470
 
    cfield->row=(uint8) row;
471
 
    cfield->col=(uint8) (length+1);
472
 
    cfield->sc_length=(uint8) min(cfield->length,cols-(length+2));
 
470
    cfield->row=(uint8_t) row;
 
471
    cfield->col=(uint8_t) (length+1);
 
472
    cfield->sc_length=(uint8_t) min(cfield->length,cols-(length+2));
473
473
  }
474
474
  length=(uint) (pos-start_screen);
475
475
  int2store(start_screen,length);
699
699
  length=(info_length+create_fields.elements*FCOMP+288+n_length+int_length+
700
700
          com_length);
701
701
  int2store(forminfo,length);
702
 
  forminfo[256] = (uint8) screens;
 
702
  forminfo[256] = (uint8_t) screens;
703
703
  int2store(forminfo+258,create_fields.elements);
704
704
  int2store(forminfo+260,info_length);
705
705
  int2store(forminfo+262,totlength);