changeset 13945:af56c955ec5f

[gaim-migrate @ 16485] Fix a 64-bit casting problem in tcl_glib committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Tue, 11 Jul 2006 16:11:30 +0000
parents 4ec9f5b2a653
children 4d577b63299a
files plugins/tcl/tcl_glib.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/tcl/tcl_glib.c	Tue Jul 11 06:54:07 2006 +0000
+++ b/plugins/tcl/tcl_glib.c	Tue Jul 11 16:11:30 2006 +0000
@@ -183,7 +183,7 @@
 
 static void tcl_delete_file_handler(int fd)
 {
-	struct tcl_file_handler *tfh = g_hash_table_lookup(tcl_file_handlers, (gpointer)fd);
+	struct tcl_file_handler *tfh = g_hash_table_lookup(tcl_file_handlers, GINT_TO_POINTER(fd));
 
 	if (tfh == NULL)
 		return;