Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
webalizer
webalizer-2.21-02-ia64.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File webalizer-2.21-02-ia64.diff of Package webalizer
--- output.c +++ output.c @@ -835,7 +835,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; @@ -1025,7 +1025,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; @@ -1228,12 +1228,12 @@ cnt=a_ctr; pointer=u_array; while (cnt--) { - if ( (int)((UNODEPTR)(*pointer)->flag) == OBJ_REG ) + if ((*pointer)->flag == OBJ_REG ) { - if ( (u_int64_t)(((UNODEPTR)(*pointer))->entry) ) - { u_entry++; t_entry+=(u_int64_t)(((UNODEPTR)(*pointer))->entry); } - if ( (u_int64_t)(((UNODEPTR)(*pointer))->exit) ) - { u_exit++; t_exit +=(u_int64_t)(((UNODEPTR)(*pointer))->exit); } + if ((*pointer)->entry) + { u_entry++; t_entry+=((*pointer))->entry; } + if ((*pointer)->exit ) + { u_exit++; t_exit +=(*pointer)->exit; } } pointer++; } @@ -1332,7 +1332,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; @@ -1497,7 +1497,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; @@ -1650,7 +1650,7 @@ cnt=tot_num=a_ctr; pointer=s_array; while(cnt--) { - t_val+=(u_int64_t)(((SNODEPTR)(*pointer))->count); + t_val+=(*pointer)->count; pointer++; } @@ -1764,7 +1764,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;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor