Allumez les n paramètres du premier nombre

unsigned int set_bits(unsigned int n, unsigned int m) {
unsigned int mask = (1 << m) - 1;
return n | mask;
} 
Mero