use proper variable type for sig handler flags