Mercurial > pidgin
comparison src/protocols/oscar/bstream.c @ 7631:ea2d07ad05a9
[gaim-migrate @ 8255]
long car rides and a power inverter can generate some interesting code tweaks
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 25 Nov 2003 07:16:11 +0000 |
parents | c0abcd675ca6 |
children | 61ef9a964574 |
comparison
equal
deleted
inserted
replaced
7630:2df4d470c12a | 7631:ea2d07ad05a9 |
---|---|
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 |