glib/demo/attachments.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 87e2af3454348f5568d155c15af5d85268e47f1b Author: Carlos Garcia Campos <[email protected]> Date: Sat Aug 1 15:48:02 2009 +0200 [glib-demo] Add cast to make sure the comparison is always valid diff --git a/glib/demo/attachments.c b/glib/demo/attachments.c index bec823b..28eb62e 100644 --- a/glib/demo/attachments.c +++ b/glib/demo/attachments.c @@ -252,7 +252,7 @@ pgd_attachments_validate_button_clicked (GtkButton *button, gint i; for (i = 0; i < digest_len; i++) { - if (attachment->checksum->str[i] != digest[i]) { + if ((guint8)attachment->checksum->str[i] != digest[i]) { valid = FALSE; break; } commit 464e95ef451103daddc9a30cd26b986291f02176 Author: Carlos Garcia Campos <[email protected]> Date: Sat Aug 1 15:47:25 2009 +0200 [glib-demo] Add missing return diff --git a/glib/demo/attachments.c b/glib/demo/attachments.c index c13147b..bec823b 100644 --- a/glib/demo/attachments.c +++ b/glib/demo/attachments.c @@ -189,6 +189,8 @@ attachment_save_callback (const gchar *buf, GChecksum *cs = (GChecksum *)data; g_checksum_update (cs, buf, count); + + return TRUE; } static void _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
