diff --git a/send/send b/send/send index b337bab..da1fe50 100755 Binary files a/send/send and b/send/send differ diff --git a/send/send.c b/send/send.c index be1e089..22e745a 100644 --- a/send/send.c +++ b/send/send.c @@ -48,7 +48,7 @@ int main(int argc,char *argv[]) { int s; int i; int status; - int byteCount; + unsigned long byteCount; double bps; struct timeval startTime; struct timeval endTime; @@ -131,7 +131,7 @@ int main(int argc,char *argv[]) { { double sec; sec = endTime.tv_sec - startTime.tv_sec + (double)(endTime.tv_usec - startTime.tv_usec)/1000000; - printf ("%d bytes in %f seconds\n",byteCount,sec); + printf ("%lu bytes in %f seconds\n",byteCount,sec); printf ("%f bytes / seconds\n",(double)byteCount/sec); printf ("%f bits / seconds\n",(double)byteCount*8/sec); printf ("%f kBit/s / seconds\n",(double)byteCount*8/1000/sec);