dovecot-2.2: lib-mail: tests - trivial sparse cleanups

dovecot at dovecot.org dovecot at dovecot.org
Tue May 27 18:19:14 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/22f70e50c492
changeset: 17401:22f70e50c492
user:      Phil Carmody <phil at dovecot.fi>
date:      Tue May 27 21:17:34 2014 +0300
description:
lib-mail: tests - trivial sparse cleanups
One static const, and one more obviously not-an-int integer.

Signed-off-by: Phil Carmody <phil at dovecot.fi>

diffstat:

 src/lib-mail/test-istream-qp-decoder.c |  1 +
 src/lib-mail/test-message-date.c       |  2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r a754433a208e -r 22f70e50c492 src/lib-mail/test-istream-qp-decoder.c
--- a/src/lib-mail/test-istream-qp-decoder.c	Tue May 27 21:17:34 2014 +0300
+++ b/src/lib-mail/test-istream-qp-decoder.c	Tue May 27 21:17:34 2014 +0300
@@ -5,6 +5,7 @@
 #include "istream-private.h"
 #include "istream-qp.h"
 
+static const 
 struct {
 	const char *input;
 	const char *output;
diff -r a754433a208e -r 22f70e50c492 src/lib-mail/test-message-date.c
--- a/src/lib-mail/test-message-date.c	Tue May 27 21:17:34 2014 +0300
+++ b/src/lib-mail/test-message-date.c	Tue May 27 21:17:34 2014 +0300
@@ -32,7 +32,7 @@
 		{ -2147483647, 0, TRUE },
 #endif
 #if (TIME_T_MAX_BITS > 32 || !defined(TIME_T_SIGNED))
-		{ 4294967295, 0, TRUE },
+		{ 4294967295U, 0, TRUE },
 #endif
 		{ 1194390440, 2*60, TRUE },
 		{ 1194397640, 0, TRUE },


More information about the dovecot-cvs mailing list