projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
983e3ae
)
added a typecast to shut up a VC++ warning when converting from long
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 30 Nov 2000 21:59:51 +0000
(21:59 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 30 Nov 2000 21:59:51 +0000
(21:59 +0000)
to unsigned short
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index
568a9b9
..
1d7b9c2
100644
(file)
--- a/
lib/ftp.c
+++ b/
lib/ftp.c
@@
-860,7
+860,8
@@
CURLcode _ftp(struct connectdata *conn)
* previous lookup.
*/
he = conn->hp;
- connectport = data->port; /* we connect to the proxy's port */
+ connectport =
+ (unsigned short)data->port; /* we connect to the proxy's port */
}
else {
/* normal, direct, ftp connection */