Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
d32cb1ae
Commit
d32cb1ae
authored
Dec 20, 2015
by
Constantin Rack
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1679 from hintjens/master
Problem: Windows build gives warning on v2_decoder.cpp:130
parents
4705feb2
97092d99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
v2_decoder.cpp
src/v2_decoder.cpp
+3
-3
No files found.
src/v2_decoder.cpp
View file @
d32cb1ae
...
...
@@ -125,9 +125,9 @@ int zmq::v2_decoder_t::size_ready(uint64_t msg_size, unsigned char const* read_p
// construct message using n bytes from the buffer as storage
// increase buffer ref count
// if the message will be a large message, pass a valid refcnt memory location as well
rc
=
in_progress
.
init
(
(
unsigned
char
*
)
read_pos
,
msg_size
,
shared_message_memory_allocator
::
call_dec_ref
,
buffer
(),
provide_refcnt
()
);
rc
=
in_progress
.
init
((
unsigned
char
*
)
read_pos
,
static_cast
<
size_t
>
(
msg_size
)
,
shared_message_memory_allocator
::
call_dec_ref
,
buffer
(),
provide_refcnt
()
);
// For small messages, data has been copied and refcount does not have to be increased
if
(
in_progress
.
is_zcmsg
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment