The Game Server Port should be interpreted as unsigned short to avoid being negative for ports above 32767.
See SourceQueryInfoDecoder#decodeQueryPacket:
decodeFlag("edfServerPort", buf, flags, A2S_INFO_EDF_PORT, buf::readShortLE, info::setGamePort, Short::intValue);