commit | e78074eb07acd02308459b5e5a70622bdb73318b | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Thu Aug 20 13:16:26 2009 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Thu Aug 20 13:56:45 2009 +0200 |
tree | ddaac5ef8b620c4adfb74d73d9007d0e9cb45d1f | |
parent | 5859de86deefd8cb2f5ae6f8a7bd8e9c4fd05e1f [diff] [blame] |
[debug] Make the hexdump parameter const This way it can be used from values coming TLVP_VAL.
diff --git a/openbsc/src/debug.c b/openbsc/src/debug.c index 6483710..fa903af 100644 --- a/openbsc/src/debug.c +++ b/openbsc/src/debug.c
@@ -143,7 +143,7 @@ static char hexd_buff[4096]; -char *hexdump(unsigned char *buf, int len) +char *hexdump(const unsigned char *buf, int len) { int i; char *cur = hexd_buff;