pam: externally our booleans are ints, not unsigneds