/pidgin/main: c3add6b78a9e: Fix pbkdf2 gobject set_property call...

Tomasz Wasilczyk twasilczyk at pidgin.im
Sun Apr 27 09:02:03 EDT 2014


Changeset: c3add6b78a9e5749108ae2c95c3b24fe40c6fc54
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-04-27 15:01 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/c3add6b78a9e

Description:

Fix pbkdf2 gobject set_property callback

diffstat:

 libpurple/ciphers/pbkdf2cipher.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff --git a/libpurple/ciphers/pbkdf2cipher.c b/libpurple/ciphers/pbkdf2cipher.c
--- a/libpurple/ciphers/pbkdf2cipher.c
+++ b/libpurple/ciphers/pbkdf2cipher.c
@@ -298,10 +298,10 @@ purple_pbkdf2_cipher_set_property(GObjec
 			purple_pbkdf2_cipher_set_hash(cipher, g_value_get_object(value));
 			break;
 		case PROP_ITER_COUNT:
-			priv->iter_count = GPOINTER_TO_UINT(value);
+			priv->iter_count = g_value_get_uint(value);
 			break;
 		case PROP_OUT_LEN:
-			priv->out_len = GPOINTER_TO_UINT(value);
+			priv->out_len = g_value_get_uint(value);
 			break;
 		default:
 			G_OBJECT_WARN_INVALID_PROPERTY_ID(obj, param_id, pspec);



More information about the Commits mailing list