# HG changeset patch # User Eric Polino # Date 1182282006 0 # Node ID 32c479656486ab71f581298d04a48f3610efcdbe # Parent c5bfa35c1cdd99567934cac6141533ced1613a58# Parent fc6d1088cb2733c19232f0818fd2e3fd1a39726f merge of '0fa7cc4bced44eafda83b747f69a36db34078edc' and 'c07d3fe49e159ba6a348391eaf9e635427d19a01' diff -r c5bfa35c1cdd -r 32c479656486 finch/gntrequest.c --- 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);