mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 10:05:19 -04:00
Fix warning in retroshare-gui JSON API page
This commit is contained in:
parent
b46fb73f20
commit
4b953a3d76
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ bool JsonApiPage::updateParams(QString &errmsg)
|
|||
changed = true;
|
||||
}
|
||||
|
||||
uint16_t port = ui.portSpinBox->value();
|
||||
uint16_t port = static_cast<uint16_t>(ui.portSpinBox->value());
|
||||
if(port != Settings->getJsonApiPort())
|
||||
{
|
||||
Settings->setJsonApiPort(port);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue