summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index b2549af..a98731b 100644
--- a/src/util.c
+++ b/src/util.c
@@ -8,7 +8,7 @@ cmumble_find_by_id(GList *list, gsize member_offset, guint id)
GList *l;
for (l = list; l; l = l->next) {
- if (G_STRUCT_MEMBER(uint32_t, l->data, member_offset) == id) {
+ if (G_STRUCT_MEMBER(uint32_t, l, member_offset) == id) {
el = l->data;
break;
}