Fix warnings for incorrect declarations and impliciting casting unsinged longs to ints.
Fix warnings for incorrect declarations and impliciting casting unsinged longs to ints.

LungNoodle/lungsim,LungNoodle/lungsim,LungNoodle/lungsim