fixed OC from squadzone, fix compilation warning for gcc 4.7