diff options
author | Yang Tse <yangsita@gmail.com> | 2007-10-20 15:11:51 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-10-20 15:11:51 +0000 |
commit | 5c8fc7dce9668a141a01781159817552a7cb4ef8 (patch) | |
tree | eede911330314f468095d4938c0f8c79993d4395 /lib/url.c | |
parent | e8d3710aff10014acb7adbf2bb721dbd53258e4f (diff) |
Fix compiler warning: conversion from "int" to "unsigned short" may lose significant bits
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3101,7 +3101,7 @@ static CURLcode setup_connection_internals(struct SessionHandle *data, } conn->port = p->defport; - conn->remote_port = p->defport; + conn->remote_port = (unsigned short)p->defport; conn->protocol |= p->protocol; return CURLE_OK; } |