mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 18:30:11 +01:00
glib-aux/tests: fix bogus cast in _nmtst_connection_normalize_v()
Fixes: 0da0293f7e ('nmtst: add nmtst_connection_normalize() function')
This commit is contained in:
parent
373cbcb749
commit
afac3d8102
1 changed files with 1 additions and 1 deletions
|
|
@ -2182,7 +2182,7 @@ _nmtst_connection_normalize_v(NMConnection *connection, va_list args)
|
|||
while ((p_name = va_arg(args, const char *))) {
|
||||
if (!parameters)
|
||||
parameters = g_hash_table_new(g_str_hash, g_str_equal);
|
||||
g_hash_table_insert(parameters, (gpointer *) p_name, va_arg(args, gpointer));
|
||||
g_hash_table_insert(parameters, (gpointer) p_name, va_arg(args, gpointer));
|
||||
}
|
||||
|
||||
success = nm_connection_normalize(connection, parameters, &was_modified, &error);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue