/Modules/CPLD_FPGA/XILINX_XVC/XVC_SOFTWARE/XVC_1x/mlab_xvcd_port_FTDI.cpp
208,7 → 208,7
if (findDeviceBy==FT_OPEN_BY_LOCATION)
{
// Open device (location is number, not string)
int findDeviceByInt = atoiEx(findDeviceByStr);
long int findDeviceByInt = atoiEx(findDeviceByStr);
ftStatus = FT_OpenEx((void*)findDeviceByInt, findDeviceBy, &ftHandle);
}
else