aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-kismet.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-03-27 23:14:13 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-03-27 23:14:13 +0000
commit8dabc0ded152882834b7c2e53ea46744fce562ba (patch)
treedcb943d303c5f8e6ccb3ff93b2f51db8bf1bbe39 /epan/dissectors/packet-kismet.c
parentfc9e7b97ba547dc1f317e6149516d8901c0da380 (diff)
Fix some more warnings under gcc 4.0
svn path=/trunk/; revision=21237
Diffstat (limited to 'epan/dissectors/packet-kismet.c')
-rw-r--r--epan/dissectors/packet-kismet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-kismet.c b/epan/dissectors/packet-kismet.c
index 80439657e6..b6aa11f8c2 100644
--- a/epan/dissectors/packet-kismet.c
+++ b/epan/dissectors/packet-kismet.c
@@ -183,7 +183,7 @@ dissect_kismet(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
* *KISMET: {Version} {Start time} \001{Server name}\001 {Build Revision}
* two fields left undocumented: {???} {?ExtendedVersion?}
*/
- if (!strncmp(reqresp, "*KISMET", 7)) {
+ if (!strncmp((char*)reqresp, "*KISMET", 7)) {
offset += next_token - line;
linelen -= next_token - line;
line = next_token;
@@ -236,7 +236,7 @@ dissect_kismet(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
/*
* *TIME: {Time}
*/
- if (!strncmp(reqresp, "*TIME", 5)) {
+ if (!strncmp((char*)reqresp, "*TIME", 5)) {
time_t t;
char *ptr;
@@ -278,10 +278,10 @@ dissect_kismet(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
static gboolean
response_is_continuation(const guchar * data)
{
- if (!strncmp(data, "*", 1))
+ if (!strncmp((char*)data, "*", 1))
return FALSE;
- if (!strncmp(data, "!", 1))
+ if (!strncmp((char*)data, "!", 1))
return FALSE;
return TRUE;