Branch: Tag:

2019-03-18

2019-03-18 22:27:31 by Tobias S. Josefowitz <tobij@tobij.de>

Compiler: Silence compiler warnings

GCC 8 got more picky about function pointer signatures, but there is
really no need to let those warnings bother us.

1768:    add_to_program(ARG); \    } while(0)    - void ins_int(INT32 i, void (*func)(char tmp)) + void ins_int(INT32 i, void (*func)(unsigned char tmp))   {    int e;    unsigned char *p = (unsigned char *)&i;
1882:   void add_relocated_int_to_program(INT32 i)   {    add_to_relocations(Pike_compiler->new_program->num_program); -  ins_int(i, (void (*)(char))add_to_program); +  ins_int(i, add_to_program);   }      void use_module(struct svalue *s)