s_scale = ( (float) monsize / o ) * SCALE_1_TO_1;
s_scale = (int)(( (float) monsize / o ) * SCALE_1_TO_1);
void profStartup(u32 lowpc, u32 highpc){  int monsize;  char *buffer;  int o;    /*   * round lowpc and highpc to multiples of the density we're using   * so the rest of the scaling (here and in gprof) stays in ints.   */  lowpc = ROUNDDOWN(lowpc, HISTFRACTION*sizeof(HISTCOUNTER));  s_lowpc = lowpc;  highpc = ROUNDUP(highpc, HISTFRACTION*sizeof(HISTCOUNTER));  s_highpc = highpc;  s_textsize = highpc - lowpc;  monsize = (s_textsize / HISTFRACTION);  buffer = (char *)calloc(1, 2*monsize );  if ( buffer == NULL ) {    systemMessage(0, MSG);    return;  }  froms = (unsigned short *) calloc(1, 4*s_textsize / HASHFRACTION );  if ( froms == NULL ) {    systemMessage(0, MSG);    free(buffer);    buffer = NULL;    return;  }  tolimit = s_textsize * ARCDENSITY / 100;  if ( tolimit < MINARCS ) {    tolimit = MINARCS;  } else if ( tolimit > 65534 ) {    tolimit = 65534;  }  tos = (struct tostruct *) calloc(1, tolimit * sizeof( struct tostruct ) );  if ( tos == NULL ) {    systemMessage(0, MSG);        free(buffer);    buffer = NULL;        free(froms);    froms = NULL;        return;  }  tos[0].link = 0;  sbuf = buffer;  ssiz = monsize;  if ( monsize <= 0 )    return;  o = highpc - lowpc;  if( monsize < o )    s_scale = ( (float) monsize / o ) * SCALE_1_TO_1;  else    s_scale = SCALE_1_TO_1;  profControl(1);}