mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-08 12:49:24 +00:00
Fix a hang on 32 bit computers
It turns out using a string hash for a pointer object doesn't always work...
This commit is contained in:
parent
5735fd67c1
commit
e8b5db66f4
@ -1109,7 +1109,7 @@ fu_plugin_init (FuPlugin *plugin)
|
|||||||
priv->enabled = TRUE;
|
priv->enabled = TRUE;
|
||||||
priv->devices = g_hash_table_new_full (g_str_hash, g_str_equal,
|
priv->devices = g_hash_table_new_full (g_str_hash, g_str_equal,
|
||||||
g_free, (GDestroyNotify) g_object_unref);
|
g_free, (GDestroyNotify) g_object_unref);
|
||||||
priv->devices_delay = g_hash_table_new (g_str_hash, g_str_equal);
|
priv->devices_delay = g_hash_table_new (g_direct_hash, g_direct_equal);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user