mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-27 19:33:06 -04:00
macros: Fix casting for C++ compatibility
Prep for more work on porting rpm-ostree to use cxx-rs.
This commit is contained in:
@@ -136,7 +136,7 @@ G_BEGIN_DECLS
|
||||
guard && ({ g_hash_table_iter_init (&it, ht), TRUE; }); \
|
||||
guard = FALSE) \
|
||||
for (kt k; guard; guard = FALSE) \
|
||||
for (vt v; g_hash_table_iter_next (&it, (gpointer)&k, (gpointer)&v);)
|
||||
for (vt v; g_hash_table_iter_next (&it, (void**)&k, (void**)&v);)
|
||||
|
||||
|
||||
/* Cleaner method to iterate over a GHashTable. I.e. rather than
|
||||
|
||||
Reference in New Issue
Block a user