- set uint type for flags - simplified some code
- set uint type for flags
- simplified some code

R=rsc
DELTA=19  (0 added, 0 deleted, 19 changed)
OCL=35405
CL=35407

tav/go,tav/go,tav/go,tav/go,tav/go,tav/go,tav/go