[c12988] Fix build warnings

Note: some conversions need to be fixed in the future to support the complete value. For example money should be handled by uin64