summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/format/format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format/format.c b/src/format/format.c
index 5a1cca9..6968dcc 100644
--- a/src/format/format.c
+++ b/src/format/format.c
@@ -949,7 +949,7 @@ bool g_binary_format_add_symbols(GBinFormat *format, GBinSymbol **symbols, size_
* construction du symbole dans les cas peu fréquents où le symbole était déjà en place.
*/
- result = bsearch_index(symbols[0], format->symbols, format->sym_count,
+ result = bsearch_index(&symbols[0], format->symbols, format->sym_count,
sizeof(GBinSymbol *), (__compar_fn_t)g_binary_symbol_cmp, &index);
if (!result)