diff --git a/src/ui/QGCTCPLinkConfiguration.cc b/src/ui/QGCTCPLinkConfiguration.cc index 364631ad3dc1cbea24f25901a04630572dca4fcb..7eb0f661ca83132e8e20d9abf17417560c34efb4 100644 --- a/src/ui/QGCTCPLinkConfiguration.cc +++ b/src/ui/QGCTCPLinkConfiguration.cc @@ -9,7 +9,7 @@ QGCTCPLinkConfiguration::QGCTCPLinkConfiguration(TCPLink* link, QWidget *parent) ui(new Ui::QGCTCPLinkConfiguration) { ui->setupUi(this); - uint16_t port = link->getPort(); + quint16 port = link->getPort(); ui->portSpinBox->setValue(port); QString addr = link->getHostAddress().toString(); ui->hostAddressLineEdit->setText(addr); @@ -32,4 +32,4 @@ void QGCTCPLinkConfiguration::changeEvent(QEvent *e) default: break; } -} \ No newline at end of file +}