diff src/protocols/novell/novell.c @ 10112:1a91e814e9d8

[gaim-migrate @ 11145] it looks like the rest of this was 64-bit stuff too committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 18 Oct 2004 05:40:02 +0000
parents 32467b63f55a
children 9f358a718f38
line wrap: on
line diff
--- a/src/protocols/novell/novell.c	Mon Oct 18 05:22:21 2004 +0000
+++ b/src/protocols/novell/novell.c	Mon Oct 18 05:40:02 2004 +0000
@@ -703,7 +703,7 @@
 	GaimConnection *gc;
 	NMUserRecord *user_record = resp_data;
 	char *err;
-	gboolean allowed = (gboolean)user_data;
+	gboolean allowed = GPOINTER_TO_INT(user_data);
 	const char *display_id;
 
 	if (user == NULL)
@@ -850,7 +850,7 @@
 	GaimConnection *gc;
 	NMUserRecord *user_record = resp_data;
 	char *err;
-	gboolean allowed = (gboolean)user_data;
+	gboolean allowed = GPOINTER_TO_INT(user_data);
 	const char *dn, *display_id;
 
 	if (user == NULL)
@@ -2382,7 +2382,7 @@
 
 	user_record = nm_find_user_record(user, who);
 	if (user_record == NULL) {
-		rc = nm_send_get_details(user, who, _get_details_resp_send_invite, (gpointer)id);
+		rc = nm_send_get_details(user, who, _get_details_resp_send_invite, GINT_TO_POINTER(id));
 		_check_for_disconnect(user, rc);
 		return;
 	}