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:
jmmv 2014-04-04 18:10:11 +00:00
parent c6be8be4ba
commit f5ead69e01

View File

@ -872,7 +872,7 @@ ATF_TC_BODY(rcvbuf_oversized, tc)
{
int i;
int sv[2];
const int pktsize = 1024;
const ssize_t pktsize = 1024;
const size_t sndbufsize = 8192;
const size_t rcvbufsize = 131072;
const size_t geometric_mean_bufsize = 32768;