aboutsummaryrefslogtreecommitdiffstats
path: root/util/logger.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-05-17 20:03:24 +0000
committerWerner Koch <[email protected]>1999-05-17 20:03:24 +0000
commit3983f30bd2f671d4f7c5bbe39a1d6a7b191f2af5 (patch)
treeef2ea1a332a2e954d1c5c86b66570da8fa6935b6 /util/logger.c
parentSee ChangeLog: Sat May 8 19:28:33 CEST 1999 Werner Koch (diff)
downloadgnupg-3983f30bd2f671d4f7c5bbe39a1d6a7b191f2af5.tar.gz
gnupg-3983f30bd2f671d4f7c5bbe39a1d6a7b191f2af5.zip
See ChangeLog: Mon May 17 21:54:43 CEST 1999 Werner Koch
Diffstat (limited to '')
-rw-r--r--util/logger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/logger.c b/util/logger.c
index 89302161e..6536802ee 100644
--- a/util/logger.c
+++ b/util/logger.c
@@ -210,13 +210,13 @@ g10_log_debug_f( const char *fname, const char *fmt, ... )
void
-g10_log_hexdump( const char *text, char *buf, size_t len )
+g10_log_hexdump( const char *text, const char *buf, size_t len )
{
int i;
print_prefix(text);
for(i=0; i < len; i++ )
- fprintf(stderr, " %02X", ((byte*)buf)[i] );
+ fprintf(stderr, " %02X", ((const byte*)buf)[i] );
fputc('\n', stderr);
}