summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorfrsyuki <frsyuki@users.sourceforge.jp>2010-03-29 21:18:01 +0900
committerfrsyuki <frsyuki@users.sourceforge.jp>2010-03-29 21:18:01 +0900
commitf7bdda88281812d90293901454e425d3ab282773 (patch)
tree3f2d600f605617e4f7a8e945cf3b1700c0b3bfa5 /cpp
parentdf5a60fd5b0372a636f1e104d6fd5fbb2e36c306 (diff)
downloadmsgpack-python-f7bdda88281812d90293901454e425d3ab282773.tar.gz
cpp: fixes pack_short(int) -> pack_short(short)
Diffstat (limited to 'cpp')
-rw-r--r--cpp/msgpack/pack.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/msgpack/pack.hpp b/cpp/msgpack/pack.hpp
index b7b3ca1..6a91971 100644
--- a/cpp/msgpack/pack.hpp
+++ b/cpp/msgpack/pack.hpp
@@ -45,7 +45,7 @@ public:
packer<Stream>& pack_int32(uint32_t d);
packer<Stream>& pack_int64(uint64_t d);
- packer<Stream>& pack_short(int d);
+ packer<Stream>& pack_short(short d);
packer<Stream>& pack_int(int d);
packer<Stream>& pack_long(long d);
packer<Stream>& pack_long_long(long long d);
@@ -183,7 +183,7 @@ inline packer<Stream>& packer<Stream>::pack_int64(uint64_t d)
template <typename Stream>
-inline packer<Stream>& packer<Stream>::pack_short(int d)
+inline packer<Stream>& packer<Stream>::pack_short(short d)
{ _pack_short(m_stream, d); return *this; }
template <typename Stream>