Fix all C4267 warnings in mangosd

Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>