diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-01-23 00:43:15 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-01-23 00:43:15 +0000 |
commit | 810f31a6cf40af1579b14be4992594fa623ab837 (patch) | |
tree | 28b54733e2243acdce2287027bbb1b94d0587858 /rdps.c | |
parent | 953b3fd357a579f3b161894a46c135a8b1b7422f (diff) |
trivial signed/unsigned warning fixes
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9791 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'rdps.c')
-rw-r--r-- | rdps.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ /* rdps.c * - * $Id: rdps.c,v 1.5 2002/08/28 21:00:41 jmayer Exp $ + * $Id: rdps.c,v 1.6 2004/01/23 00:43:15 jmayer Exp $ * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> * Copyright 1998 Gerald Combs @@ -41,7 +41,7 @@ with 2 functions: void start_code(FILE *fd, char *func); void write_code(FILE *fd, char *string); void end_code(FILE *fd); -void ps_clean_string(unsigned char *out, const unsigned char *in, +void ps_clean_string(char *out, const char *in, int outbuf_size); enum ps_state { null, preamble, hex, finale }; @@ -142,7 +142,7 @@ void end_code(FILE *fd) fprintf(fd, "}\n\n\n"); } -void ps_clean_string(unsigned char *out, const unsigned char *in, +void ps_clean_string(char *out, const char *in, int outbuf_size) { int rd, wr; |