summaryrefslogtreecommitdiff
path: root/tests/server/tftpd.c
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/server/tftpd.c
parente06afaeb7ae3823f9cfd9af61585a34ded91da66 (diff)
downloadcurl-59b6cb9e917f9547a14f1bd465374a542c5b5a7e.tar.gz
Yang Tse: fixed compiler warning
Diffstat (limited to 'tests/server/tftpd.c')
-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;
}