All pastes #606503 Raw Edit

Stuff

public text v1 · immutable
·published 2007-07-06 21:49 UTC
rendered paste body
Index: libdvdcss/libdvdcss.c
===================================================================
--- libdvdcss/libdvdcss.c       (revision 23725)
+++ libdvdcss/libdvdcss.c       (working copy)
@@ -472,7 +472,7 @@
             {
                 char psz_tmp[16 + 1];
                 sprintf( psz_tmp,
-                         "%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x",
+                         "%.2"PRIx8"%.2"PRIx8"%.2"PRIx8"%.2"PRIx8"%.2"PRIx8"%.2"PRIx8"%.2"PRIx8"%.2"PRIx8"",
                          psz_serial[0], psz_serial[1], psz_serial[2],
                          psz_serial[3], psz_serial[4], psz_serial[5],
                          psz_serial[6], psz_serial[7] );