[libbluray-devel] print_hex: use lower case letters

hpi1 git at videolan.org
Wed Mar 13 10:09:56 CET 2013


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Mar 12 14:19:06 2013 +0200| [a3e60ef58ba30952cf510bbe6845ae6bc28ae0d3] | committer: hpi1

print_hex: use lower case letters
Fixes the only place where it is used. Enables BD-Live downloads.

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=a3e60ef58ba30952cf510bbe6845ae6bc28ae0d3
---

 src/util/logging.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/logging.c b/src/util/logging.c
index d881478..306f5d4 100644
--- a/src/util/logging.c
+++ b/src/util/logging.c
@@ -47,7 +47,7 @@ char *print_hex(char *out, const uint8_t *buf, int count)
 {
     int zz;
     for(zz = 0; zz < count; zz++) {
-        sprintf(out + (zz * 2), "%02X", buf[zz]);
+        sprintf(out + (zz * 2), "%02x", buf[zz]);
     }
 
     return out;



More information about the libbluray-devel mailing list