This is an automated email from the ASF dual-hosted git repository. pnoltes pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/celix.git
commit 30a07786d75a79ea27014b7e8b58ac0e393f9981 Author: Pepijn Noltes <[email protected]> AuthorDate: Tue Sep 10 21:15:33 2019 +0200 Changed unsigned cast to more explicit unsigned int --- bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c b/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c index 9457163..ef9ad60 100644 --- a/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c +++ b/bundles/pubsub/pubsub_admin_tcp/src/pubsub_tcp_handler.c @@ -451,7 +451,7 @@ void pubsub_tcpHandler_setUrlInfo(char *url, pubsub_tcpHandler_url_t *url_info) url_info->hostname = strtok(strdup(hostname), ":"); if (port) { port += 1; - unsigned int portDigits = (unsigned) atoi(port); + unsigned int portDigits = (unsigned int) atoi(port); if (portDigits != 0) url_info->portnr = portDigits; } free(hostname);
