[dovecot-cvs] dovecot/src/lib module-context.h,1.1,1.2

tss at dovecot.org tss at dovecot.org
Sat Mar 31 08:01:20 EEST 2007


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv10649

Modified Files:
	module-context.h 
Log Message:
Compile fix



Index: module-context.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/module-context.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- module-context.h	29 Mar 2007 11:51:32 -0000	1.1
+++ module-context.h	31 Mar 2007 05:01:14 -0000	1.2
@@ -89,8 +89,8 @@
 		COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE(module_ctx, \
 			(**(obj)->module_contexts.v)) + \
 		OBJ_REGISTER_COMPATIBLE(obj, id_ctx); \
-	array_idx_set(&(obj)->module_contexts, \
-		module_get_context_id(&(id_ctx).id), (void *)&_module_tmp); \
+	_array_idx_set(&(obj)->module_contexts.arr, \
+		module_get_context_id(&(id_ctx).id), &_module_tmp); \
 	} STMT_END
 
 #define MODULE_CONTEXT_SET(obj, id_ctx, context) \



More information about the dovecot-cvs mailing list