Removed few compilation warnings.
added dummy implementation of making float into int32 value range