diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2009-02-24 13:53:41 -0800 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2009-02-24 13:53:41 -0800 |
commit | 87f97daec38e334e719e1e0cee14306cc8c1dd37 (patch) | |
tree | ba6dfd22e810f50ac81de38708b085a7bf129e0d /libnet/src/libnet_cq.c | |
parent | 94a0fbde427751098e35b0c66a306f7f92da8502 (diff) | |
download | libnet-87f97daec38e334e719e1e0cee14306cc8c1dd37.tar.gz |
libnet (inconsistently) uses various signed and/or unsigned typedefs instead of char
ANSI C uses char for string literals and the standard library, so this generates many warnings. I've fixed a number of the places where types representing null-terminated strings weren't typed correctly.
Diffstat (limited to 'libnet/src/libnet_cq.c')
-rw-r--r-- | libnet/src/libnet_cq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnet/src/libnet_cq.c b/libnet/src/libnet_cq.c index 3dd5317..77cb055 100644 --- a/libnet/src/libnet_cq.c +++ b/libnet/src/libnet_cq.c @@ -325,7 +325,7 @@ libnet_cq_find_by_label(char *label) return (p ? p->context : NULL); } -int8_t * +const char * libnet_cq_getlabel(libnet_t *l) { return (l->label); |