diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-06-26 10:26:47 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-06-26 10:26:47 +0000 |
commit | da12395ac69ef69b1859dcbe60d775be1de18964 (patch) | |
tree | 6e30aa0b967c84b35bde154f2b3fe921d9333779 /gtk/sctp_graph_dlg.c | |
parent | 1c897f05591bd00fe57761ce0d9d0a34880a1878 (diff) |
sctp_graph_dlg.c(383) : warning C4244: '=' : conversion from 'unsigned int ' to 'float ', possible loss of data
svn path=/trunk/; revision=14765
Diffstat (limited to 'gtk/sctp_graph_dlg.c')
-rw-r--r-- | gtk/sctp_graph_dlg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/sctp_graph_dlg.c b/gtk/sctp_graph_dlg.c index 9116654ef1..b57f2d695f 100644 --- a/gtk/sctp_graph_dlg.c +++ b/gtk/sctp_graph_dlg.c @@ -380,7 +380,7 @@ static void sctp_graph_draw(struct sctp_udata *u_data) if(u_data->io->tmp_width>0){ u_data->io->x_interval = (float)((u_data->io->axis_width*1.0)/u_data->io->tmp_width); } else { - u_data->io->x_interval = u_data->io->axis_width; + u_data->io->x_interval = (float)(u_data->io->axis_width); } e=0; |