Fix variable type to avoid printf formatter warning.
This fixes the build under powerpc64 where gcc complains about a mismatch between a %zd printf formatter and an int variable passed to it.
This commit is contained in:
parent
3d79118758
commit
3be7751dca
@ -872,7 +872,7 @@ ATF_TC_BODY(rcvbuf_oversized, tc)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int sv[2];
|
int sv[2];
|
||||||
const int pktsize = 1024;
|
const ssize_t pktsize = 1024;
|
||||||
const size_t sndbufsize = 8192;
|
const size_t sndbufsize = 8192;
|
||||||
const size_t rcvbufsize = 131072;
|
const size_t rcvbufsize = 131072;
|
||||||
const size_t geometric_mean_bufsize = 32768;
|
const size_t geometric_mean_bufsize = 32768;
|
||||||
|
Loading…
Reference in New Issue
Block a user