/pidgin/main: 2eb147600041: Fix AIM connection issue related to ...
Tomasz Wasilczyk
tomkiewicz at cpw.pidgin.im
Fri Aug 23 05:33:03 EDT 2013
Changeset: 2eb14760004135274546eec7912b0df37c8ca83a
Author: Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date: 2013-08-23 11:32 +0200
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/2eb147600041
Description:
Fix AIM connection issue related to recent -Wsign-compare fixes
diffstat:
libpurple/protocols/oscar/bstream.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/libpurple/protocols/oscar/bstream.c b/libpurple/protocols/oscar/bstream.c
--- a/libpurple/protocols/oscar/bstream.c
+++ b/libpurple/protocols/oscar/bstream.c
@@ -52,7 +52,7 @@ void byte_stream_destroy(ByteStream *bs)
size_t byte_stream_bytes_left(ByteStream *bs)
{
g_return_val_if_fail(bs != NULL, 0);
- g_return_val_if_fail(bs->len < bs->offset, 0);
+ g_return_val_if_fail(bs->len >= bs->offset, 0);
return bs->len - bs->offset;
}
More information about the Commits
mailing list