Squelch a (justified, although the child process *shouldn't* ever send
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 25 Sep 1999 02:02:11 +0000 (02:02 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 25 Sep 1999 02:02:11 +0000 (02:02 +0000)
us, at that point, a character with the 8th bit set) complaint about a
"char" array subscript in an "isdigit()" call by making the character
unsigned.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@724 f5534014-38df-0310-8fa8-9805f1628bb7

capture.c

index 501fd5d4845f2c3801d7a1d8ec38d533eaac1974..f2631efed39c15040b08167332daba0fed885784 100644 (file)
--- a/capture.c
+++ b/capture.c
@@ -1,7 +1,7 @@
 /* capture.c
  * Routines for packet capture windows
  *
- * $Id: capture.c,v 1.71 1999/09/23 07:57:16 guy Exp $
+ * $Id: capture.c,v 1.72 1999/09/25 02:02:11 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -101,7 +101,7 @@ void
 do_capture(void)
 {
   char tmpname[128+1];
-  char c;
+  u_char c;
   int i;
   guint byte_count;
   char *msg;