diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-05-14 15:40:02 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-05-28 22:26:22 +0200 |
commit | 468dabb5262fca1ec032e9b16418e48d23d89deb (patch) | |
tree | 2f0aad513bcfbc0ad3e04b5a930016c137353db1 /test/pingtest.c | |
parent | b1aec45bc2afa967582fc5e866f494accb552b1d (diff) | |
download | slirp-468dabb5262fca1ec032e9b16418e48d23d89deb.zip slirp-468dabb5262fca1ec032e9b16418e48d23d89deb.tar.gz slirp-468dabb5262fca1ec032e9b16418e48d23d89deb.tar.bz2 |
Do not use ssize_t on Windows
It doesn't have it.
Diffstat (limited to 'test/pingtest.c')
-rw-r--r-- | test/pingtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pingtest.c b/test/pingtest.c index 8607db6..247a5b1 100644 --- a/test/pingtest.c +++ b/test/pingtest.c @@ -85,7 +85,7 @@ static void checksum(uint8_t *data, size_t size, uint8_t *cksum) { /* This is called when receiving a packet from the virtual network, for the * guest */ -static ssize_t send_packet(const void *buf, size_t len, void *opaque) { +static slirp_ssize_t send_packet(const void *buf, size_t len, void *opaque) { const uint8_t *data = buf; assert(len >= 14); |