Changes in / [4e6577c:abf04a54] in mainline


Ignore:
Location:
uspace/app/bdsh
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/tok.c

    r4e6577c rabf04a54  
    224224wchar_t tok_look_char(tokenizer_t *tok)
    225225{
    226         size_t old_offset = tok->in_offset;
    227         size_t old_char_offset = tok->in_char_offset;
     226        unsigned int old_offset = tok->in_offset;
     227        unsigned int old_char_offset = tok->in_char_offset;
    228228        wchar_t ret = tok_get_char(tok);
    229229        tok->in_offset = old_offset;
  • uspace/app/bdsh/tok.h

    r4e6577c rabf04a54  
    3838typedef struct {
    3939        char *text;
    40         size_t byte_start;
    41         size_t char_start;
     40        unsigned int byte_start;
     41        unsigned int char_start;
    4242        size_t byte_length;
    4343        size_t char_length;
     
    4747typedef struct {
    4848        char *in;
    49         size_t in_offset;
    50         size_t last_in_offset;
    51         size_t in_char_offset;
    52         size_t last_in_char_offset;
     49        unsigned int in_offset;
     50        unsigned int last_in_offset;
     51        unsigned int in_char_offset;
     52        unsigned int last_in_char_offset;
    5353       
    5454        char *outbuf;
Note: See TracChangeset for help on using the changeset viewer.