slip.c:
char is signed but uip_buf is unsigned spi.h: casted unused values to void autostart.c: autostart.h: The array itself should be const but the processes pointed to should not. profile-aggregates.c: sizeof returns unsigned long on my platform
This commit is contained in:
parent
46b6ce9193
commit
71dc988cb9
5 changed files with 18 additions and 18 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: profile-aggregates.c,v 1.3 2007/11/17 18:07:40 adamdunkels Exp $
|
||||
* $Id: profile-aggregates.c,v 1.4 2007/11/18 12:27:45 ksb Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -128,8 +128,8 @@ profile_aggregates_print(void)
|
|||
#endif
|
||||
|
||||
printf("Memory for aggregates: %d * %d = %d\n",
|
||||
sizeof(struct aggregate), aggregates_list_ptr,
|
||||
sizeof(struct aggregate) * aggregates_list_ptr);
|
||||
(int)sizeof(struct aggregate), aggregates_list_ptr,
|
||||
(int)sizeof(struct aggregate) * aggregates_list_ptr);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#if DETAILED_AGGREGATES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue