From e1b7ea8449be480f0a8f4e6fad42b55b44bdb473 Mon Sep 17 00:00:00 2001 From: Olof Hagsand Date: Sun, 1 Oct 2017 12:41:32 +0200 Subject: [PATCH] intptr to avoid warning --- lib/src/clixon_xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/clixon_xml.c b/lib/src/clixon_xml.c index 585e1934..d0baa05d 100644 --- a/lib/src/clixon_xml.c +++ b/lib/src/clixon_xml.c @@ -1829,7 +1829,7 @@ xml_hash_op(cxobj *x, clicon_hash_t *ph; yang_stmt *y; cbuf *key = NULL; /* cligen buffer hash key */ - int op = (int)arg; + int op = (intptr_t)arg; if (xml_hash(x)==NULL){ if (op==1)