From a97e5fc6e4f294294d75500068892aea11952773 Mon Sep 17 00:00:00 2001 From: Rin Okuyama Date: Tue, 21 Feb 2017 06:18:37 +0000 Subject: avoid -Wformat errors from clang https://bugs.freedesktop.org/show_bug.cgi?id=99882 Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith --- Xtranssock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xtranssock.c b/Xtranssock.c index 56d52ea..b06579c 100644 --- a/Xtranssock.c +++ b/Xtranssock.c @@ -1519,7 +1519,7 @@ TRANS(SocketINETConnect) (XtransConnInfo ciptr, tmpaddr = INADDR_NONE; } - prmsg (4,"SocketINETConnect() inet_addr(%s) = %x\n", host, tmpaddr); + prmsg (4,"SocketINETConnect() inet_addr(%s) = %lx\n", host, tmpaddr); if (tmpaddr == INADDR_NONE) { if ((hostp = _XGethostbyname(host,hparams)) == NULL) { -- cgit v1.2.3