From: Jens Axboe Date: Fri, 22 Jun 2007 12:56:24 +0000 (+0200) Subject: nettest 32-bit warnings X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=59292f8b1865ceabfa75cde1102c245c25f6b85e;p=splice.git nettest 32-bit warnings Signed-off-by: Jens Axboe --- diff --git a/nettest/fillfile.c b/nettest/fillfile.c index 01be07c..002f3a6 100644 --- a/nettest/fillfile.c +++ b/nettest/fillfile.c @@ -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) { diff --git a/nettest/xmit.c b/nettest/xmit.c index 412fc3c..0b7976f 100644 --- a/nettest/xmit.c +++ b/nettest/xmit.c @@ -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) {