Fixed 'Bug 12490 - Cast warnings with literals'.