diff options
| author | Martin Sustrik <sustrik@250bpm.com> | 2011-05-15 13:12:09 +0200 | 
|---|---|---|
| committer | Martin Sustrik <sustrik@250bpm.com> | 2011-05-15 13:12:09 +0200 | 
| commit | 49df2f416cd43e9e18f3dbd964271c5cca835729 (patch) | |
| tree | 815d659e54170a47fd812bc55bbda6b9f0ec7581 /src/encoder.hpp | |
| parent | 49387874efe790713f4a090e03a97212f4889163 (diff) | |
Fixes warning when compiling with MSVC on Win64
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/encoder.hpp')
| -rw-r--r-- | src/encoder.hpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/encoder.hpp b/src/encoder.hpp index 617b65b..90b5ffe 100644 --- a/src/encoder.hpp +++ b/src/encoder.hpp @@ -86,7 +86,7 @@ namespace zmq                      //  first-message-offset.                      if (beginning) {                           if (offset_ && *offset_ == -1) -                            *offset_ = pos; +                            *offset_ = (int) pos;                          beginning = false;                      }                  } | 
