summaryrefslogtreecommitdiff
path: root/libnet/src/libnet_cq.c
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2009-02-24 13:53:41 -0800
committerSam Roberts <vieuxtech@gmail.com>2009-02-24 13:53:41 -0800
commit87f97daec38e334e719e1e0cee14306cc8c1dd37 (patch)
treeba6dfd22e810f50ac81de38708b085a7bf129e0d /libnet/src/libnet_cq.c
parent94a0fbde427751098e35b0c66a306f7f92da8502 (diff)
downloadlibnet-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.c2
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);