summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-09-08 10:09:55 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-09-08 10:30:41 +0000
commit97949b1f8a872a7f44db9c979c8509a05e198784 (patch)
treea818c963e5c2a3d235226bc62f88bfabca3bb835 /vespalib
parent5498a227cc6ba3e21e268d4ae3dbb98cfe7f246c (diff)
%d -> %ld
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/objects/nbostream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/objects/nbostream.cpp b/vespalib/src/vespa/vespalib/objects/nbostream.cpp
index 40df53b377e..12e26f1935d 100644
--- a/vespalib/src/vespa/vespalib/objects/nbostream.cpp
+++ b/vespalib/src/vespa/vespalib/objects/nbostream.cpp
@@ -23,7 +23,7 @@ std::ostream & operator << (std::ostream & os, const HexDump & hd)
void nbostream::fail(State s)
{
_state = static_cast<State>(_state | s);
- throw IllegalStateException(vespalib::make_string("Stream failed bufsize(%lu), readp(%d), writep(%d)", (unsigned long)_wbuf.size(), _rp, _wp), VESPA_STRLOC);
+ throw IllegalStateException(make_string("Stream failed bufsize(%lu), readp(%ld), writep(%ld)", (unsigned long)_wbuf.size(), _rp, _wp), VESPA_STRLOC);
}
void nbostream::reserve(size_t sz)