aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_indent.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-12-23 16:16:37 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-12-23 16:16:37 -0800
commit2e948d9d6d98a644a4fef83956a4835c1aef9b43 (patch)
tree828cadbcd50a5c1546e4ad97ae48778cbb86d158 /fish_indent.cpp
parent6fa9a18a2bd75a18f2f9ee6a6183b1cb841446ad (diff)
Update fish_indent Xcode build target
Diffstat (limited to 'fish_indent.cpp')
-rw-r--r--fish_indent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish_indent.cpp b/fish_indent.cpp
index e4659081..68ed580c 100644
--- a/fish_indent.cpp
+++ b/fish_indent.cpp
@@ -142,7 +142,7 @@ static wcstring prettify(const wcstring &src, bool do_indent)
/* We may have a forest of disconnected trees on a parse failure. We have to handle all nodes that have no parent, and all parse errors. */
bool has_new_line = true;
wcstring result;
- for (size_t i=0; i < tree.size(); i++)
+ for (node_offset_t i=0; i < tree.size(); i++)
{
const parse_node_t &node = tree.at(i);
if (node.parent == NODE_OFFSET_INVALID || node.type == parse_special_type_parse_error)