mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-11 07:29:38 -05:00
Fix warning in retroshare-gui JSON API page
This commit is contained in:
parent
b46fb73f20
commit
4b953a3d76
@ -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…
Reference in New Issue
Block a user