Changeset 2337
- Timestamp:
- May 18, 2008, 9:56:48 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/src/fuzz.c
r2324 r2337 51 51 52 52 /* Per-value byte protection */ 53 static intprotect[256];54 static intrefuse[256];53 static unsigned char protect[256]; 54 static unsigned char refuse[256]; 55 55 56 56 /* Local prototypes */ 57 static void readchars( int*, char const *);57 static void readchars(unsigned char *, char const *); 58 58 59 59 extern void _zz_fuzzing(char const *mode) … … 185 185 } 186 186 187 static void readchars( int*table, char const *list)187 static void readchars(unsigned char *table, char const *list) 188 188 { 189 189 static char const hex[] = "0123456789abcdef0123456789ABCDEF"; … … 191 191 int a, b; 192 192 193 memset(table, 0, 256 * sizeof( int));193 memset(table, 0, 256 * sizeof(unsigned char)); 194 194 195 195 for(tmp = list, a = b = -1; *tmp; tmp++)
Note: See TracChangeset
for help on using the changeset viewer.