src/protocols/oscar/bstream.c

changeset 7631
0e9e516bb6c3
parent 4642
a491791dc1a1
child 10464
034b1b3ad2be
equal deleted inserted replaced
7630:23e09fd7cbeb 7631:0e9e516bb6c3
28 faim_internal int aim_bstream_curpos(aim_bstream_t *bs) 28 faim_internal int aim_bstream_curpos(aim_bstream_t *bs)
29 { 29 {
30 return bs->offset; 30 return bs->offset;
31 } 31 }
32 32
33 faim_internal int aim_bstream_setpos(aim_bstream_t *bs, int off) 33 faim_internal int aim_bstream_setpos(aim_bstream_t *bs, unsigned int off)
34 { 34 {
35 35
36 if (off > bs->len) 36 if (off > bs->len)
37 return -1; 37 return -1;
38 38

mercurial