Mercurial > pidgin
diff src/protocols/oscar/bstream.c @ 10993:b6ca6d3c5332
[gaim-migrate @ 12831]
*** empty log message ***
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Thu, 09 Jun 2005 04:47:18 +0000 |
| parents | 8d74ae785a46 |
| children | f2431a7e33aa |
line wrap: on
line diff
--- a/src/protocols/oscar/bstream.c Thu Jun 09 04:42:27 2005 +0000 +++ b/src/protocols/oscar/bstream.c Thu Jun 09 04:47:18 2005 +0000 @@ -162,10 +162,10 @@ { char *ob; - if (!(ob = malloc(len+1))) + if (!(ob = malloc(len + 1))) return NULL; - if (aimbs_getrawbuf(bs, ob, len) < len) { + if (aimbs_getrawbuf(bs, (fu8_t *)ob, len) < len) { free(ob); return NULL; } @@ -256,7 +256,7 @@ faim_internal int aimbs_putstr(aim_bstream_t *bs, const char *str) { - aimbs_putraw(bs, str, strlen(str)); + return aimbs_putraw(bs, (fu8_t *)str, strlen(str)); } faim_internal int aimbs_putbs(aim_bstream_t *bs, aim_bstream_t *srcbs, int len)
