Parenthesize the operand of the cast, to make it clearer that we're

casting the result of the entire computation.

svn path=/trunk/; revision=23714
This commit is contained in:
Guy Harris 2007-12-03 21:35:54 +00:00
parent b958a1a124
commit ae459b483f

View file

@ -930,7 +930,7 @@ io_stat_draw(io_stat_t *io)
x_pos-io->pixels_per_tick/2,
(guint32)(draw_height-1-(val*draw_height)/max_y+top_y_border),
io->pixels_per_tick,
(guint32)(val*draw_height)/max_y);
(guint32)((val*draw_height)/max_y));
}
break;
case PLOT_STYLE_DOT: