[vala] Use exact pointer type in CodeContext.push to fix C warning
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Use exact pointer type in CodeContext.push to fix C warning
- Date: Sun, 21 Mar 2010 09:50:39 +0000 (UTC)
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]