From 013aefd9fd9880e9c19aa69dd190f62a1a0f54f4 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 3 Mar 2011 23:17:59 -0500 Subject: Added casts necessary for building under Visual Studio --- src/annotate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/annotate.cc') diff --git a/src/annotate.cc b/src/annotate.cc index 093837fe..8ba46f4f 100644 --- a/src/annotate.cc +++ b/src/annotate.cc @@ -42,7 +42,7 @@ void annotation_t::parse(std::istream& in) { do { istream_pos_type pos = in.tellg(); - if (pos == -1) + if (static_cast(pos) < 0) return; char buf[256]; -- cgit v1.2.3