Avoid compiler warnings.
This commit is contained in:
parent
a99f0ca352
commit
5bd04b9c0d
4 changed files with 18 additions and 17 deletions
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
* This file is part of the Contiki desktop environment
|
||||
*
|
||||
* $Id: htmlparser.c,v 1.1 2006/06/17 22:41:13 adamdunkels Exp $
|
||||
* $Id: htmlparser.c,v 1.2 2006/08/14 23:31:40 oliverschmidt Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -412,7 +412,7 @@ parse_tag(void)
|
|||
newline();
|
||||
add_char(ISO_rbrack);
|
||||
do_word();
|
||||
htmlparser_link((char *)html_frame, strlen(html_frame), s.tagattrparam);
|
||||
htmlparser_link((char *)html_frame, (unsigned char)strlen(html_frame), s.tagattrparam);
|
||||
PRINTF(("Frame [%s]\n", s.tagattrparam));
|
||||
add_char(ISO_lbrack);
|
||||
newline();
|
||||
|
@ -843,7 +843,7 @@ htmlparser_parse(char *data, u16_t datalen)
|
|||
if(datalen > 255) {
|
||||
plen = parse_word(data, 255);
|
||||
} else {
|
||||
plen = parse_word(data, datalen);
|
||||
plen = parse_word(data, (u8_t)datalen);
|
||||
}
|
||||
datalen -= plen;
|
||||
data += plen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue