summaryrefslogtreecommitdiff
path: root/src/annotate.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-03-03 23:17:59 -0500
committerJohn Wiegley <johnw@newartisans.com>2011-03-03 23:17:59 -0500
commit013aefd9fd9880e9c19aa69dd190f62a1a0f54f4 (patch)
tree3b8f381f661a058323339b0cfaa9c9708206cf1c /src/annotate.cc
parent49a90ef595010ed547ba71c40ee7ae4344eb8092 (diff)
downloadfork-ledger-013aefd9fd9880e9c19aa69dd190f62a1a0f54f4.tar.gz
fork-ledger-013aefd9fd9880e9c19aa69dd190f62a1a0f54f4.tar.bz2
fork-ledger-013aefd9fd9880e9c19aa69dd190f62a1a0f54f4.zip
Added casts necessary for building under Visual Studio
Diffstat (limited to 'src/annotate.cc')
-rw-r--r--src/annotate.cc2
1 files changed, 1 insertions, 1 deletions
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<int>(pos) < 0)
return;
char buf[256];