From: Guus Sliepen Date: Mon, 23 Sep 2019 12:12:28 +0000 (+0200) Subject: Fix varargs warning for catta_server_add_service(). X-Git-Url: http://git.meshlink.io/?a=commitdiff_plain;h=b2b4639f998e3362a182953ba974520ac99de0fc;hp=b2b4639f998e3362a182953ba974520ac99de0fc;p=catta Fix varargs warning for catta_server_add_service(). Promote the type of the port argument, which comes right before any variable arguments, to ensure va_start() doesn't run into undefined behaviour. The alternative would be to shuffle the arguments so that a pointer is the last non-variable argument, but that would break the ABI. ---