s4:rootdse LDB module - change counter variables to "unsigned" where appropriate