fix gcc warning about signed/unsigned comparison #4150
===VersionHistory:None===