diff options
author | Joerg Mayer <jmayer@loplof.de> | 2018-04-04 23:53:44 +0200 |
---|---|---|
committer | Joerg Mayer <jmayer@loplof.de> | 2018-04-04 23:56:22 +0200 |
commit | 410721a3858e7b6413b165cb0fb2049755bbf71c (patch) | |
tree | 3ab0e8641dc6188468deb0b265a269d49a429fac /rpcap-protocol.c | |
parent | 8b005d1a317d1857c68124965cb7bd98a17cf0f2 (diff) |
Fix a few warnings that came up after turning on a dozen more warnings
Diffstat (limited to 'rpcap-protocol.c')
-rw-r--r-- | rpcap-protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpcap-protocol.c b/rpcap-protocol.c index 607d5bd2..692f7c5c 100644 --- a/rpcap-protocol.c +++ b/rpcap-protocol.c @@ -78,7 +78,7 @@ * error message is returned in the 'errbuf' variable. */ int -rpcap_senderror(SOCKET sock, uint8 ver, unsigned short errcode, char *error, char *errbuf) +rpcap_senderror(SOCKET sock, uint8 ver, unsigned short errcode, const char *error, char *errbuf) { char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data to be sent is buffered */ int sendbufidx = 0; /* index which keeps the number of bytes currently buffered */ |