Fixed compiler warnings to make code compile with gcc's -pedantic switch

This commit is contained in:
adamdunkels 2007-11-17 18:01:00 +00:00
parent 607d27e0c6
commit 1e1e44a3f8
42 changed files with 313 additions and 286 deletions

View file

@ -47,7 +47,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: rudolph1.h,v 1.5 2007/05/15 08:09:21 adamdunkels Exp $
* $Id: rudolph1.h,v 1.6 2007/11/17 18:05:21 adamdunkels Exp $
*/
/**
@ -75,8 +75,8 @@ enum {
struct rudolph1_callbacks {
void (* write_chunk)(struct rudolph1_conn *c, int offset, int flag,
char *data, int len);
int (* read_chunk)(struct rudolph1_conn *c, int offset, char *to,
uint8_t *data, int len);
int (* read_chunk)(struct rudolph1_conn *c, int offset, uint8_t *to,
int maxsize);
};