64-bit vars

This commit is contained in:
Olof Hagsand 2018-06-17 17:58:59 +00:00
parent 85c4782e36
commit a0d4569488
2 changed files with 5 additions and 5 deletions

View file

@ -254,7 +254,7 @@ api_data_get2(clicon_handle h,
else{
if (xpath_vec(xret, "%s", &xvec, &xlen, path) < 0)
goto done;
clicon_debug(1, "%s: xpath:%s xlen:%d", __FUNCTION__, path, xlen);
clicon_debug(1, "%s: xpath:%s xlen:%d", __FUNCTION__, path, (int)xlen);
if (use_xml){
for (i=0; i<xlen; i++){
x = xvec[i];

View file

@ -317,8 +317,8 @@ event_loop(void)
if (n==0){ /* Timeout */
e = ee_timers;
ee_timers = ee_timers->e_next;
clicon_debug(2, "%s timeout: %s[%x]",
__FUNCTION__, e->e_string, (int)e->e_arg);
clicon_debug(2, "%s timeout: %s[%lx]",
__FUNCTION__, e->e_string, (intptr_t)e->e_arg);
if ((*e->e_fn)(0, e->e_arg) < 0){
free(e);
goto err;
@ -331,8 +331,8 @@ event_loop(void)
break;
e_next = e->e_next;
if(e->e_type == EVENT_FD && FD_ISSET(e->e_fd, &fdset)){
clicon_debug(2, "%s: FD_ISSET: %s[%x]",
__FUNCTION__, e->e_string, (int)e->e_arg);
clicon_debug(2, "%s: FD_ISSET: %s[%lx]",
__FUNCTION__, e->e_string, (intptr_t)e->e_arg);
if ((*e->e_fn)(e->e_fd, e->e_arg) < 0){
clicon_debug(1, "%s Error in: %s", __FUNCTION__, e->e_string);
goto err;