diff src/gtkimhtml.c @ 2022:199ba82faacb

[gaim-migrate @ 2032] WHOOPS committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 15 Jun 2001 23:53:57 +0000
parents 7c2457745344
children 3366311426df
line wrap: on
line diff
--- a/src/gtkimhtml.c	Fri Jun 15 08:07:46 2001 +0000
+++ b/src/gtkimhtml.c	Fri Jun 15 23:53:57 2001 +0000
@@ -2380,8 +2380,8 @@
 		*replace = '®';
 		*length = 5;
 	} else if (*(string + 1) == '#') {
-		gint pound = 0;
-		if (sscanf (string, "&#%d;", &pound) == 1) {
+		guint pound = 0;
+		if (sscanf (string, "&#%u;", &pound) == 1) {
 			if (*(string + 3 + (gint)log10 (pound)) != ';')
 				return FALSE;
 			*replace = (gchar)pound;