comparison pidgin/plugins/spellchk.c @ 19408:cc36a5aac908

Fix some conversion warnings about using negative values with unsigned types. There are more, but these were easy fixes. You may think that I'm changing the API, but I'm really not - it was just wrong.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 24 Aug 2007 19:43:41 +0000
parents 8ee1f173253c
children 44b4e8bd759b
comparison
equal deleted inserted replaced
19407:41417f94afe9 19408:cc36a5aac908
665 g_signal_connect(G_OBJECT(gtkconv->entry), "message_send", 665 g_signal_connect(G_OBJECT(gtkconv->entry), "message_send",
666 G_CALLBACK(message_send_cb), spell); 666 G_CALLBACK(message_send_cb), spell);
667 return; 667 return;
668 } 668 }
669 669
670 static int buf_get_line(char *ibuf, char **buf, int *position, int len) 670 static int buf_get_line(char *ibuf, char **buf, int *position, gsize len)
671 { 671 {
672 int pos = *position; 672 int pos = *position;
673 int spos = pos; 673 int spos = pos;
674 674
675 if (pos == len) 675 if (pos == len)