Fix compiler warning in commit 34edf6b6