Search
j0ke.net Open Build Service
>
Projects
>
city-map
>
webalizer
> webalizer-2.01-10-ia64.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File webalizer-2.01-10-ia64.diff of Package webalizer
--- output.c +++ output.c @@ -827,7 +827,7 @@ while(cnt--) { /* calculate totals */ - switch ( (int)((HNODEPTR)(*pointer)->flag) ) + switch ((*pointer)->flag) { case OBJ_REG: h_reg++; break; case OBJ_GRP: h_grp++; break; @@ -1013,7 +1013,7 @@ while (cnt--) { /* calculate totals */ - switch ( (int)((UNODEPTR)(*pointer)->flag) ) + switch ((*pointer)->flag) { case OBJ_REG: u_reg++; break; case OBJ_GRP: u_grp++; break; @@ -1214,12 +1214,12 @@ cnt=a_ctr; pointer=u_array; while (cnt--) { - if ( (int)((UNODEPTR)(*pointer)->flag) == OBJ_REG ) + if ((*pointer)->flag == OBJ_REG ) { - if ( (u_long)((UNODEPTR)(*pointer)->entry) ) - { u_entry++; t_entry+=(u_long)((UNODEPTR)(*pointer)->entry); } - if ( (u_long)((UNODEPTR)(*pointer)->exit) ) - { u_exit++; t_exit +=(u_long)((UNODEPTR)(*pointer)->exit); } + if ((*pointer)->entry) + { u_entry++; t_entry+=(*pointer)->entry; } + if ((*pointer)->exit) + { u_exit++; t_exit += (*pointer)->exit; } } pointer++; } @@ -1318,7 +1318,7 @@ while(cnt--) { /* calculate totals */ - switch ( (int)((RNODEPTR)(*pointer)->flag) ) + switch ((*pointer)->flag) { case OBJ_REG: r_reg++; break; case OBJ_HIDE: r_hid++; break; @@ -1480,7 +1480,7 @@ while(cnt--) { /* calculate totals */ - switch ( (int)((ANODEPTR)(*pointer)->flag) ) + switch ((*pointer)->flag) { case OBJ_REG: a_reg++; break; case OBJ_GRP: a_grp++; break; @@ -1631,7 +1631,7 @@ cnt=tot_num=a_ctr; pointer=s_array; while(cnt--) { - t_val+=(u_long)((SNODEPTR)(*pointer)->count); + t_val+=(*pointer)->count; pointer++; } @@ -1743,7 +1743,7 @@ while(cnt--) { /* calculate totals */ - switch ( (int)((INODEPTR)(*pointer)->flag) ) + switch ((*pointer)->flag) { case OBJ_REG: i_reg++; break; case OBJ_GRP: i_grp++; break;