char: lp: fix possible integer overflow in lp_setup()