[Common] Getting rid of warning 4996.
[Acquisition] Getting rid of warning 4996 and int-converstion warning.