Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

czmq_prelude.h/safe_malloc(): C++-robustify the signature

silences "deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]"
  • Loading branch information...
commit e228bb10b65ab114abd8278a0c696ac8ca22b75f 1 parent b776c6e
Michael Haberler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  include/czmq_prelude.h
View
2  include/czmq_prelude.h
@@ -453,7 +453,7 @@ typedef struct sockaddr_in inaddr_t; // Internet socket address structure
static inline void *
safe_malloc (
size_t size,
- char *file,
+ const char *file,
unsigned line,
const char *func)
{
Please sign in to comment.
Something went wrong with that request. Please try again.