summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-08-10 20:27:08 (GMT)
committerEvan Martin <martine@danga.com>2012-08-10 20:44:40 (GMT)
commitd58a10965610eb6b338e411ce816b810d76ab59e (patch)
treef5e9627cb0fcd0c2f62665388fa93f284ba318ee /src/util.h
parentd98ba72ef8adfb1698b8de197de6751c8b14d5c0 (diff)
downloadNinja-d58a10965610eb6b338e411ce816b810d76ab59e.zip
Ninja-d58a10965610eb6b338e411ce816b810d76ab59e.tar.gz
Ninja-d58a10965610eb6b338e411ce816b810d76ab59e.tar.bz2
windows: fix size_t<->int conversions in ninja.exe
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index bfcbfa8..ab1882b 100644
--- a/src/util.h
+++ b/src/util.h
@@ -39,7 +39,7 @@ void Error(const char* msg, ...);
/// Canonicalize a path like "foo/../bar.h" into just "bar.h".
bool CanonicalizePath(string* path, string* err);
-bool CanonicalizePath(char* path, int* len, string* err);
+bool CanonicalizePath(char* path, size_t* len, string* err);
/// Read a file to a string.
/// Returns -errno and fills in \a err on error.