|
|
| version 1.41, 2005/08/26 11:12:45 | version 1.42, 2006/11/01 17:43:43 |
|---|---|
| Line 287 static const char* hex_string(unsigned c | Line 287 static const char* hex_string(unsigned c |
| unsigned char *end=bytes+size; | unsigned char *end=bytes+size; |
| char *dest=bytes_hex; | char *dest=bytes_hex; |
| static const char *hex=upcase?"0123456789ABCDEF":"0123456789abcdef"; | const char *hex=upcase?"0123456789ABCDEF":"0123456789abcdef"; |
| for(; src<end; src++) { | for(; src<end; src++) { |
| *dest++=hex[*src/0x10]; | *dest++=hex[*src/0x10]; |