aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-12-06 07:47:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-12-06 07:47:37 +0000
commit59b6cb9e917f9547a14f1bd465374a542c5b5a7e (patch)
tree75a206e0fdf82187495ca7b7e7f7ffddede6a559 /tests
parente06afaeb7ae3823f9cfd9af61585a34ded91da66 (diff)
Yang Tse: fixed compiler warning
Diffstat (limited to 'tests')
-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;
}