[vala] valac: Fix C warning in add_package method



commit 8a4566609ec00ab24e80bd182ceb7047cf82de7b
Author: Jürg Billeter <j bitron ch>
Date:   Fri Mar 26 17:37:29 2010 +0100

    valac: Fix C warning in add_package method
    
    Fixes bug 532902.

 compiler/valacompiler.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala
index 3d2a098..2e643b7 100644
--- a/compiler/valacompiler.vala
+++ b/compiler/valacompiler.vala
@@ -172,7 +172,7 @@ class Vala.Compiler {
 		if (FileUtils.test (deps_filename, FileTest.EXISTS)) {
 			try {
 				string deps_content;
-				ulong deps_len;
+				size_t deps_len;
 				FileUtils.get_contents (deps_filename, out deps_content, out deps_len);
 				foreach (string dep in deps_content.split ("\n")) {
 					dep = dep.strip ();



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