diff options
| author | frsyuki <frsyuki@users.sourceforge.jp> | 2010-03-29 21:18:01 +0900 |
|---|---|---|
| committer | frsyuki <frsyuki@users.sourceforge.jp> | 2010-03-29 21:18:01 +0900 |
| commit | f7bdda88281812d90293901454e425d3ab282773 (patch) | |
| tree | 3f2d600f605617e4f7a8e945cf3b1700c0b3bfa5 /cpp | |
| parent | df5a60fd5b0372a636f1e104d6fd5fbb2e36c306 (diff) | |
| download | msgpack-python-f7bdda88281812d90293901454e425d3ab282773.tar.gz | |
cpp: fixes pack_short(int) -> pack_short(short)
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/msgpack/pack.hpp | 4 |
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> |
