X-Git-Url: http://git.meshlink.io/?p=catta;a=blobdiff_plain;f=include%2Fcatta%2Fpublish.h;h=1ebedb6ac53a25e46af4e9e1648c6d3c4530b6c3;hp=ac39c9642b7ae31e8c03e37f0e45491f9902960b;hb=b2b4639f998e3362a182953ba974520ac99de0fc;hpb=08ac450b42b7533e97c02c02bbbef8946b9582fb diff --git a/include/catta/publish.h b/include/catta/publish.h index ac39c96..1ebedb6 100644 --- a/include/catta/publish.h +++ b/include/catta/publish.h @@ -114,7 +114,7 @@ int catta_server_add_service( const char *type, /**< DNS-SD type, e.g. "_http._tcp" */ const char *domain, const char *host, /**< Host name where this servcie resides, or NULL if on the local host */ - uint16_t port, /**< Port number of the service */ + unsigned int port, /**< Port number of the service */ ... /**< Text records, terminated by NULL */) CATTA_GCC_SENTINEL; /** Mostly identical to catta_server_add_service(), but takes an CattaStringList object for the TXT records. The CattaStringList object is copied. */