File format_fix.patch of Package tpm2-0-tss

Index: tpm2-tss-2.0.0/src/util/io.c
===================================================================
--- tpm2-tss-2.0.0.orig/src/util/io.c
+++ tpm2-tss-2.0.0/src/util/io.c
@@ -69,7 +69,7 @@ write_all (
     do {
         LOG_DEBUG("writing %zu bytes starting at 0x%" PRIxPTR " to fd %d",
                   size - written_total,
-                  (uintptr_t)buf + written_total,
+                  (uintptr_t)(buf + written_total),
                   fd);
         written = TEMP_RETRY (write (fd,
                                      (const char*)&buf [written_total],
openSUSE Build Service is sponsored by