Fix warning with gcc 4.6.1 (and also nightly test).