summaryrefslogtreecommitdiff
path: root/tests/timeloop-basic.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/timeloop-basic.c')
-rw-r--r--tests/timeloop-basic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/timeloop-basic.c b/tests/timeloop-basic.c
index 7f952263a..d2bc41eec 100644
--- a/tests/timeloop-basic.c
+++ b/tests/timeloop-basic.c
@@ -35,7 +35,7 @@ int
read_all (int fd, char *buf, int len)
{
size_t bytes_read = 0;
- ssize_t count;
+ gssize count;
while (bytes_read < len)
{
@@ -58,7 +58,7 @@ int
write_all (int fd, char *buf, int len)
{
size_t bytes_written = 0;
- ssize_t count;
+ gssize count;
while (bytes_written < len)
{