Mercurial > pidgin
diff src/protocols/oscar/oscar.c @ 5630:4e2ffa3d9094
[gaim-migrate @ 6037]
Constification.
Also, what was I going--oh yeah, fixes a compile warning in oscar.c
Maybe I should be casting all of the 0.5s to ints? Eh.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sun, 01 Jun 2003 05:18:43 +0000 |
| parents | 9a34e950792e |
| children | 960fe32ea9b7 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sun Jun 01 04:25:17 2003 +0000 +++ b/src/protocols/oscar/oscar.c Sun Jun 01 05:18:43 2003 +0000 @@ -3176,7 +3176,7 @@ "%s\n" "<hr>\n"), info->sn, images(info->flags), - (info->warnlevel/10.0) + 0.5, + (int)((info->warnlevel/10.0) + 0.5), onlinesince ? onlinesince : "", membersince ? membersince : "", idle ? idle : "");
