(svn r10395) -Fix [YAPF]: missing include + some signed/unsigned comparison warnings
--- a/src/misc/dbg_helpers.cpp Fri Jun 29 23:55:16 2007 +0000
+++ b/src/misc/dbg_helpers.cpp Sat Jun 30 00:17:07 2007 +0000
@@ -1,4 +1,4 @@
-/* $Id:$ */
+/* $Id$ */
/** @file dbg_helpers.cpp */
#include "../stdafx.h"
--- a/src/misc/dbg_helpers.h Fri Jun 29 23:55:16 2007 +0000
+++ b/src/misc/dbg_helpers.h Sat Jun 30 00:17:07 2007 +0000
@@ -1,4 +1,4 @@
-/* $Id:$ */
+/* $Id$ */
/** @file dbg_helpers.h */
@@ -67,7 +67,7 @@
} else if (value == 0) {
out = "<none>";
} else {
- for (int i = 0; i < ArrayT<T>::length; i++) {
+ for (size_t i = 0; i < ArrayT<T>::length; i++) {
if ((value & (1 << i)) == 0) continue;
out.AddFormat("%s%s", (out.Size() > 0 ? "+" : ""), t[i]);
value &= ~(E)(1 << i);
--- a/src/yapf/yapf.hpp Fri Jun 29 23:55:16 2007 +0000
+++ b/src/yapf/yapf.hpp Sat Jun 30 00:17:07 2007 +0000
@@ -74,6 +74,7 @@
#include "../misc/crc32.hpp"
#include "../misc/blob.hpp"
+#include "../misc/str.hpp"
#include "../misc/fixedsizearray.hpp"
#include "../misc/array.hpp"
#include "../misc/hashtable.hpp"