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)