Removed compilation warning generating always true comparison.

Signed-off-by: Timo J. Rinne <tri@iki.fi>