mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 20:59:47 +01:00
Problem: parameters not const where const possible
Solution: add const
This commit is contained in:
committed by
Simon Giesecke
parent
84267e734b
commit
fdabd73da6
@@ -85,7 +85,7 @@ int zmq::do_getsockopt (void *const optval_,
|
||||
|
||||
#ifdef ZMQ_HAVE_CURVE
|
||||
static int do_getsockopt_curve_key (void *const optval_,
|
||||
size_t *const optvallen_,
|
||||
const size_t *const optvallen_,
|
||||
const uint8_t (&curve_key_)[CURVE_KEYSIZE])
|
||||
{
|
||||
if (*optvallen_ == CURVE_KEYSIZE) {
|
||||
|
||||
Reference in New Issue
Block a user