Converted longs to double longs to avoid overflow problems.

This commit is contained in:
pdw
2002-04-26 20:08:51 +00:00
parent 5987459b4f
commit ab76616088
3 changed files with 9 additions and 4 deletions

4
ui.c
View File

@@ -28,8 +28,8 @@ int history_divs[HISTORY_DIVISIONS] = {1, 5, 20};
typedef struct host_pair_line_tag {
addr_pair ap;
long recv[HISTORY_DIVISIONS];
long sent[HISTORY_DIVISIONS];
double long recv[HISTORY_DIVISIONS];
double long sent[HISTORY_DIVISIONS];
} host_pair_line;