Update common.c
Merge pull request #29 from Guilhem117/patch-25

Update common.c