Commit 0dabfc5f authored by Niels Möller's avatar Niels Möller
Browse files

* src/parse.c (parse_uint8): Use unsigned for the result.

Rev: src/parse.c:1.23
Rev: src/parse.h:1.16
parent 60c13e9e
......@@ -105,7 +105,7 @@ int parse_sub_buffer(struct simple_buffer *buffer,
return 1;
}
int parse_uint8(struct simple_buffer *buffer, int *result)
int parse_uint8(struct simple_buffer *buffer, unsigned *result)
{
if (!LEFT)
return 0;
......
......@@ -62,7 +62,7 @@ struct lsh_string *parse_string_copy(struct simple_buffer *buffer);
int parse_sub_buffer(struct simple_buffer *buffer,
struct simple_buffer *subbuffer);
int parse_uint8(struct simple_buffer *buffer, int *result);
int parse_uint8(struct simple_buffer *buffer, unsigned *result);
/* Returns 1 on success, 0 on error, and -1 at end of buffer */
int parse_utf8(struct simple_buffer *buffer, UINT32 *result);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment