changeset 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 d94c82b32b06
children 3ab2082d125f
files src/gtkimhtml.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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;