Fix compiler warning
Tested for 2.4