aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/tftpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c
index cf85623af..e4fc83683 100644
--- a/tests/server/tftpd.c
+++ b/tests/server/tftpd.c
@@ -228,7 +228,7 @@ static void read_ahead(struct testcase *test,
/* decrease amount, advance pointer */
test->rcount -= copy_n;
test->rptr += copy_n;
- b->counter = copy_n;
+ b->counter = (int)copy_n;
return;
}