nettest 32-bit warnings
authorJens Axboe <jens.axboe@oracle.com>
Fri, 22 Jun 2007 12:56:24 +0000 (14:56 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 22 Jun 2007 12:56:24 +0000 (14:56 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
nettest/fillfile.c
nettest/xmit.c

index 01be07cf1d39e72f749ec5ba638f8dc4770cfd27..002f3a68e2f400b54339423ee3b6b86494681a59 100644 (file)
@@ -9,7 +9,7 @@
 
 static unsigned int msg_size = 4096;
 static unsigned int file_size = 128;
-static unsigned long seed = 0x9e37fffffffc0001UL;
+static unsigned long seed = 0x9e370001UL;
 
 static int usage(const char *name)
 {
index 412fc3cea6e488e3fd23b7c46e309194a027068d..0b7976f372812a4515a260b32a890281af4ae61d 100644 (file)
@@ -24,7 +24,7 @@ static unsigned int msg_size = 4096;
 static int use_splice = 1;
 static unsigned long packets = -1;
 
-static unsigned long seed = 0x9e37fffffffc0001UL;
+static unsigned long seed = 0x9e370001UL;
 
 unsigned long mtime_since(struct timeval *s, struct timeval *e)
 {