Fix: Use the proper enum type

This commit is contained in:
Denis Kenzior 2010-03-03 13:07:24 -06:00
parent 72851607e1
commit 4cbb33fcbd
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ static void new_bytes(GAtServer *p)
unsigned int len = ring_buffer_len(p->read_buf);
unsigned int wrap = ring_buffer_len_no_wrap(p->read_buf);
unsigned char *buf = ring_buffer_read_ptr(p->read_buf, p->read_so_far);
enum ParserState result;
enum ParserResult result;
while (p->channel && (p->read_so_far < len)) {
gsize rbytes = MIN(len - p->read_so_far, wrap - p->read_so_far);