Fix compiler warning
Merge pull request #3781 from mdboom/compiler-warning

MNT : Fix compiler warning