changeset 19108:32c479656486

merge of '0fa7cc4bced44eafda83b747f69a36db34078edc' and 'c07d3fe49e159ba6a348391eaf9e635427d19a01'
author Eric Polino <aluink@pidgin.im>
date Tue, 19 Jun 2007 19:40:06 +0000
parents c5bfa35c1cdd (current diff) fc6d1088cb27 (diff)
children 1cb69ea47a6e
files finch/gntrequest.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntrequest.c	Tue Jun 19 19:34:20 2007 +0000
+++ b/finch/gntrequest.c	Tue Jun 19 19:40:06 2007 +0000
@@ -673,7 +673,7 @@
 			switch (pt) {
 				case PURPLE_PREF_INT:
 				{
-					long int tmp;
+					long int tmp = GPOINTER_TO_INT(val);
 					if (type == PURPLE_REQUEST_FIELD_LIST) /* Lists always return string */
 						sscanf(val, "%ld", &tmp);
 					purple_prefs_set_int(id, (gint)tmp);