mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 10:20:11 +01:00
ifcfg-rh: fix build on 32-bit
This commit is contained in:
parent
94a6f609f7
commit
15b2a85ec5
1 changed files with 2 additions and 2 deletions
|
|
@ -3404,14 +3404,14 @@ make_wireless_setting (shvarFile *ifcfg,
|
|||
if (!strcmp (value, "a")) {
|
||||
if (chan && chan <= 14) {
|
||||
g_set_error (error, IFCFG_PLUGIN_ERROR, 0,
|
||||
"Band '%s' invalid for channel %ld", value, chan);
|
||||
"Band '%s' invalid for channel %u", value, (guint32) chan);
|
||||
g_free (value);
|
||||
goto error;
|
||||
}
|
||||
} else if (!strcmp (value, "bg")) {
|
||||
if (chan && chan > 14) {
|
||||
g_set_error (error, IFCFG_PLUGIN_ERROR, 0,
|
||||
"Band '%s' invalid for channel %ld", value, chan);
|
||||
"Band '%s' invalid for channel %u", value, (guint32) chan);
|
||||
g_free (value);
|
||||
goto error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue