[balsa] Cast quotient, not numerator
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] Cast quotient, not numerator
- Date: Wed, 17 Nov 2010 02:04:48 +0000 (UTC)
commit bd1b9aa0620bf6552f0637386476b3d342af7648
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Tue Nov 16 21:04:03 2010 -0500
Cast quotient, not numerator
* libbalsa/mailbox_imap.c (multi_append_cb): cast quotient, not
numerator.
ChangeLog | 5 +++++
libbalsa/mailbox_imap.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3b004e1..2d8392b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2010-11-16 Peter Bloomfield
+ * libbalsa/mailbox_imap.c (multi_append_cb): cast quotient, not
+ numerator.
+
+2010-11-16 Peter Bloomfield
+
* libbalsa/mailbox_imap.c (multi_append_cb): do not break
gettext with concatenated string.
diff --git a/libbalsa/mailbox_imap.c b/libbalsa/mailbox_imap.c
index f0220e8..3e6d7fe 100644
--- a/libbalsa/mailbox_imap.c
+++ b/libbalsa/mailbox_imap.c
@@ -2893,7 +2893,7 @@ multi_append_cb(char * buf, size_t buflen,
if (len > (signed) SizeMsgThreshold)
libbalsa_information(LIBBALSA_INFORMATION_MESSAGE,
_("Uploading %ld kB"),
- (long int) (len + 512) / 1024);
+ (long int) ((len + 512) / 1024));
*return_flags = imap_flags;
macd->copied++;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]