dovecot-2.2: Compiler warning fix.
    dovecot at dovecot.org 
    dovecot at dovecot.org
       
    Sun Feb 24 08:07:05 EET 2013
    
    
  
details:   http://hg.dovecot.org/dovecot-2.2/rev/357b1f1285ea
changeset: 15898:357b1f1285ea
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Feb 24 08:06:59 2013 +0200
description:
Compiler warning fix.
diffstat:
 src/lib/test-json-parser.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r c05773011313 -r 357b1f1285ea src/lib/test-json-parser.c
--- a/src/lib/test-json-parser.c	Sun Feb 24 08:06:51 2013 +0200
+++ b/src/lib/test-json-parser.c	Sun Feb 24 08:06:59 2013 +0200
@@ -128,11 +128,11 @@
 		test_istream_set_size(input, i);
 
 		for (;;) {
-			if (json_output[pos].type == TYPE_SKIP) {
+			if (json_output[pos].type == (enum json_type)TYPE_SKIP) {
 				json_parse_skip_next(parser);
 				pos++;
 				continue;
-			} else if (json_output[pos].type != TYPE_STREAM) {
+			} else if (json_output[pos].type != (enum json_type)TYPE_STREAM) {
 				ret = json_parse_next(parser, &type, &value);
 			} else {
 				ret = jsoninput != NULL ? 1 :
    
    
More information about the dovecot-cvs
mailing list