Declare bSynchronizeNearest as bool.

It's already used as such, so there is no reason to declare it as int.