Fixed compiler warning about signed/unsigned int comparison.

Change-Id: Icf4e6788ade7f4ea6ee2b13d63ffee2a08fbae20
Merge topic 'fixed-warning' into master

98100c99 Fixed compiler warning about signed/unsigned int comparison.