diff --git a/include/igloo/list.h b/include/igloo/list.h index bf90eac..5bf1264 100644 --- a/include/igloo/list.h +++ b/include/igloo/list.h @@ -65,7 +65,7 @@ int igloo_list_iterator_rewind(igloo_list_iterator_t *iterat do { \ igloo_list_iterator_storage_t __igloo_list_iterator_storage; \ igloo_list_iterator_t *__igloo_list_iterator = igloo_list_iterator_start((list), &__igloo_list_iterator_storage, sizeof(__igloo_list_iterator_storage)); \ - type var; \ + type * var; \ for (; !igloo_RO_IS_NULL((var) = igloo_RO_TO_TYPE(igloo_list_iterator_next(__igloo_list_iterator),type));) { \ code; \ igloo_ro_unref((var)); \