Fix compiler warning.

Change-Id: I2f5c84cfad86c287d64869c9df56d49be135d7b1
Reviewed-by: Erik Mattsson <erik.mattsson@appello.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>