change buffer data type in hexdump logging to unsigned char
This commit is contained in:
parent
e4a5abba65
commit
a85f07f18a
@ -137,7 +137,7 @@ void capwap_logging_printf(int level, const char* format, ...) {
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
void capwap_logging_hexdump(int level, const char *title, const uint8_t *data, size_t len)
|
||||
void capwap_logging_hexdump(int level, const char *title, const unsigned char *data, size_t len)
|
||||
{
|
||||
char prefix[256];
|
||||
|
||||
|
@ -31,7 +31,7 @@ void capwap_logging_disable_console(void);
|
||||
/* */
|
||||
#ifdef ENABLE_LOGGING
|
||||
void capwap_logging_printf(int level, const char *format, ...);
|
||||
void capwap_logging_hexdump(int level, const char *title, const uint8_t *data, size_t len);
|
||||
void capwap_logging_hexdump(int level, const char *title, const unsigned char *data, size_t len);
|
||||
#else
|
||||
#define capwap_logging_printf(l, f, args...) do { } while (0)
|
||||
#define capwap_logging_hexdump(l, t, d, len) do { } while (0)
|
||||
|
Loading…
Reference in New Issue
Block a user