* fix some coverity warnings (bug NB#80246, the modest part)
[modest] / src / widgets / modest-attachments-view.c
index 557fc88..04742ad 100644 (file)
@@ -801,7 +801,7 @@ modest_attachments_view_get_sizes (ModestAttachmentsView *attachments_view,
 
                if (!tny_mime_part_is_purged (part)) {
                        guint64 size;
-                       *attachments_count ++;
+                       (*attachments_count) ++;
                        size = modest_attachment_view_get_size (MODEST_ATTACHMENT_VIEW (att_view));
                        if (size == 0) {
                                /* we do a random estimation of the size of an attachment */