X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Ftosthreads%2Ftypes%2Flinked_list.h;h=03929c4b3424d0aa07970e017178ffe5f7f25139;hb=3ea5380f6559ccb84163c882833d0994e370c5ba;hp=2a60de349341e9fde76a25e55d8e5ea000bca863;hpb=b4356df561e4d3e2b06bfc630aa853548fc0d49b;p=tinyos-2.x.git diff --git a/tos/lib/tosthreads/types/linked_list.h b/tos/lib/tosthreads/types/linked_list.h index 2a60de34..03929c4b 100644 --- a/tos/lib/tosthreads/types/linked_list.h +++ b/tos/lib/tosthreads/types/linked_list.h @@ -38,7 +38,7 @@ typedef struct list_element { struct list_element* next; - uint8_t element_data[0]; + uint8_t* element_data; } list_element_t; typedef struct linked_list {