sigopt: fix num_to signature (missed block)
sigopt: fix buffile fopen signature (wrong ign)