diff options
Diffstat (limited to 'sample/cdp.c')
-rw-r--r-- | sample/cdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/cdp.c b/sample/cdp.c index 6b5a9b7..04cfb08 100644 --- a/sample/cdp.c +++ b/sample/cdp.c @@ -86,7 +86,7 @@ main(int argc, char *argv[]) index += 5; /* this TLV is handled by the libnet builder */ - value = argv[2]; + value = (u_char *)argv[2]; len = strlen(argv[2]); /* build CDP header */ |