layers: Fix round tripping uint32_t through int
authorbungeman <bungeman@chromium.org>
Tue, 14 Mar 2017 17:23:41 +0000 (13:23 -0400)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 14 Mar 2017 21:11:18 +0000 (15:11 -0600)
commite67c0f2f6a62139c601af389f7e8db105580b016
treed52b401aad1f9e696a62ff026316357e35d773f2
parentbc3d4f37e0753ae8efb311b17d9e3497d3a8a703
layers: Fix round tripping uint32_t through int

Commit 25afc3c "Suppress VC++ 2017 signed/unsigned warning" fixed
issue #1395. However, it did so by static_cast-ing a value back to a
type it already had been. Instead, just avoid round tripping the
'uint32_t' through 'int'.
layers/core_validation.cpp