Change some char type variables to unsigned char
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
Wed, 10 Mar 2010 08:20:06 +0000 (10:20 +0200)
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
Wed, 10 Mar 2010 08:20:06 +0000 (10:20 +0200)
lib/quagga/src/common.h

index 1702f04..b5ed2a4 100644 (file)
 #define ZEBRA_ROUTE_MAX                        13
 
 struct zebra {
-  char status;                         // internal status
-  char options;                        // internal options
-  int sock;                            // Socket to zebra...
-  char redistribute[ZEBRA_ROUTE_MAX];
-  char distance;
-  char flags;
+  unsigned char status;
+  unsigned char options;
+  int sock;
+  unsigned char redistribute[ZEBRA_ROUTE_MAX];
+  unsigned char distance;
+  unsigned char flags;
   char *sockpath;
   unsigned int port;
-  char version;
+  unsigned char version;
 };
 
 extern struct zebra zebra;