[vala] Use exact pointer type in CodeContext.push to fix C warning



commit 5a27c465bd135334705785556188df630ef172b4
Author: Jürg Billeter <j bitron ch>
Date:   Sun Mar 21 09:27:33 2010 +0100

    Use exact pointer type in CodeContext.push to fix C warning

 vala/valacodecontext.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valacodecontext.vala b/vala/valacodecontext.vala
index 41571ad..2c9e326 100644
--- a/vala/valacodecontext.vala
+++ b/vala/valacodecontext.vala
@@ -207,7 +207,7 @@ public class Vala.CodeContext {
 	 * Push the specified context to the context stack.
 	 */
 	public static void push (CodeContext context) {
-		List<CodeContext>* context_stack = context_stack_key.get ();
+		ArrayList<CodeContext>* context_stack = context_stack_key.get ();
 		if (context_stack == null) {
 			context_stack = new ArrayList<CodeContext> ();
 			context_stack_key.set (context_stack, null);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]