intptr to avoid warning

This commit is contained in:
Olof Hagsand 2017-10-01 12:41:32 +02:00
parent ca7b4d3d9e
commit e1b7ea8449

View file

@ -1829,7 +1829,7 @@ xml_hash_op(cxobj *x,
clicon_hash_t *ph; clicon_hash_t *ph;
yang_stmt *y; yang_stmt *y;
cbuf *key = NULL; /* cligen buffer hash key */ cbuf *key = NULL; /* cligen buffer hash key */
int op = (int)arg; int op = (intptr_t)arg;
if (xml_hash(x)==NULL){ if (xml_hash(x)==NULL){
if (op==1) if (op==1)