--- libbalsa/message.c-orig	2008-08-03 13:37:00.000000000 -0400
+++ libbalsa/message.c	2008-08-03 13:37:29.000000000 -0400
@@ -863,7 +863,7 @@
 /* Populate headers from mime_msg, but only the members that are needed
  * all the time. */
 static InternetAddressList *
-lb_message_recipients(GMimeMessage * message, const gchar * type)
+lb_message_recipients(GMimeMessage * message, GMimeRecipientType type)
 {
     const InternetAddressList *list;
     InternetAddressList *copy = NULL;
