diff plugins/spellchk.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 08c9d0dcf906
children 8720427121f5
line wrap: on
line diff
--- a/plugins/spellchk.c	Tue Nov 25 06:56:44 2003 +0000
+++ b/plugins/spellchk.c	Tue Nov 25 07:16:11 2003 +0000
@@ -140,7 +140,7 @@
 
 static int num_words(const char *m) {
 	int count = 0;
-	int pos;
+	guint pos;
 	int state = 0;
 
 	for (pos = 0; pos < strlen(m); pos++) {
@@ -169,7 +169,7 @@
 
 static int get_word(char *m, int word) {
 	int count = 0;
-	int pos = 0;
+	guint pos = 0;
 	int state = 0;
 
 	for (pos = 0; pos < strlen(m) && count <= word; pos++) {