diff options
| author | Yang Tse <yangsita@gmail.com> | 2010-02-24 00:03:06 +0000 | 
|---|---|---|
| committer | Yang Tse <yangsita@gmail.com> | 2010-02-24 00:03:06 +0000 | 
| commit | 5695c4db861e3c3f200005ae428c89cd3ad6ccdb (patch) | |
| tree | 5bdb249f29dffeec6784322ec111efcd8f80a609 /lib/url.c | |
| parent | aa0f8593b9b97948c509cbb475a9f184b9650e02 (diff) | |
fix compiler warning
Diffstat (limited to 'lib/url.c')
| -rw-r--r-- | lib/url.c | 3 | 
1 files changed, 2 insertions, 1 deletions
@@ -120,6 +120,7 @@ void idn_free (void *ptr); /* prototype from idn-free.h, not provided by  #include "easyif.h"  #include "speedcheck.h"  #include "rawstr.h" +#include "warnless.h"  /* And now for the protocols */  #include "ftp.h" @@ -4267,7 +4268,7 @@ static CURLcode parse_remote_port(struct SessionHandle *data,        }        *portptr = '\0'; /* cut off the name there */ -      conn->remote_port = (unsigned short)port; +      conn->remote_port = curlx_ultous(port);      }    }    return CURLE_OK;  | 
