aboutsummaryrefslogtreecommitdiff
path: root/rpcap-protocol.h
diff options
context:
space:
mode:
authorJoerg Mayer <jmayer@loplof.de>2018-04-04 23:53:44 +0200
committerJoerg Mayer <jmayer@loplof.de>2018-04-04 23:56:22 +0200
commit410721a3858e7b6413b165cb0fb2049755bbf71c (patch)
tree3ab0e8641dc6188468deb0b265a269d49a429fac /rpcap-protocol.h
parent8b005d1a317d1857c68124965cb7bd98a17cf0f2 (diff)
Fix a few warnings that came up after turning on a dozen more warnings
Diffstat (limited to 'rpcap-protocol.h')
-rw-r--r--rpcap-protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpcap-protocol.h b/rpcap-protocol.h
index c78580f9..83ebdc5b 100644
--- a/rpcap-protocol.h
+++ b/rpcap-protocol.h
@@ -445,6 +445,6 @@ struct rpcap_sampling
extern void rpcap_createhdr(struct rpcap_header *header, uint8 ver, uint8 type, uint16 value, uint32 length);
extern const char *rpcap_msg_type_string(uint8 type);
-extern int rpcap_senderror(SOCKET sock, uint8 ver, uint16 errcode, char *error, char *errbuf);
+extern int rpcap_senderror(SOCKET sock, uint8 ver, uint16 errcode, const char *error, char *errbuf);
#endif