fixed announcement compilation error

This commit is contained in:
fros4943 2009-11-27 14:27:50 +00:00
parent aeefa75304
commit a1b4597b95

View file

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* $Id: xmac.c,v 1.42 2009/11/27 12:49:27 adamdunkels Exp $ * $Id: xmac.c,v 1.43 2009/11/27 14:27:50 fros4943 Exp $
*/ */
/** /**
@ -389,8 +389,8 @@ format_announcement(char *hdr)
for(a = announcement_list(); for(a = announcement_list();
a != NULL && adata.num < ANNOUNCEMENT_MAX; a != NULL && adata.num < ANNOUNCEMENT_MAX;
a = a->next) { a = a->next) {
adata.data[adata->num].id = a->id; adata.data[adata.num].id = a->id;
adata.data[adata->num].value = a->value; adata.data[adata.num].value = a->value;
adata.num++; adata.num++;
} }