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:
Julio Merino 2014-04-04 18:10:11 +00:00
parent 3d79118758
commit 3be7751dca
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264133

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;