two way conversion for int and long

is it ok now?