Small compilation warning fix
authorPhilip Van Hoof <philip@codeminded.be>
Fri, 15 Jun 2007 12:47:11 +0000 (12:47 +0000)
committerPhilip Van Hoof <philip@codeminded.be>
Fri, 15 Jun 2007 12:47:11 +0000 (12:47 +0000)
pmo-trunk-r2256

src/maemo/modest-msg-edit-window.c

index 559d027..c405a77 100644 (file)
@@ -1175,7 +1175,7 @@ modest_msg_edit_window_set_format_state (ModestMsgEditWindow *self,
                wp_text_buffer_set_attribute (WP_TEXT_BUFFER (priv->text_buffer), WPT_BOLD, (gpointer) (buffer_format->font));
        }
        if (buffer_format->cs.bullet) {
-               wp_text_buffer_set_attribute (WP_TEXT_BUFFER (priv->text_buffer), WPT_BULLET, (gpointer) (buffer_format->bullet));
+               wp_text_buffer_set_attribute (WP_TEXT_BUFFER (priv->text_buffer), WPT_BULLET, (gpointer) ((int)buffer_format->bullet));
        }
 /*     wp_text_buffer_set_format (WP_TEXT_BUFFER (priv->text_buffer), buffer_format); */
        wp_text_buffer_thaw (WP_TEXT_BUFFER (priv->text_buffer));