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

View File

@@ -13,8 +13,8 @@
typedef struct {
long recv[HISTORY_LENGTH];
long sent[HISTORY_LENGTH];
long total_sent;
long total_recv;
double long total_sent;
double long total_recv;
int last_write;
} history_type;