changeset 181:778647cccb36

Use TH_PRIx_SIZE_T here.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 03 Mar 2015 00:49:43 +0200
parents 06a375df1787
children d560371c85c0
files th_network.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/th_network.c	Mon Mar 02 22:43:23 2015 +0200
+++ b/th_network.c	Tue Mar 03 00:49:43 2015 +0200
@@ -956,7 +956,7 @@
         left -= amount;
 
         // Dump offs | xx xx xx xx | and fill string
-        fprintf(f, "%04zx | ", offs);
+        fprintf(f, "%04" TH_PRIx_SIZE_T " | ", offs);
         for (bufoffs = 0; bufoffs < amount; offs++, bufoffs++, p++)
         {
             fprintf(f, "%02x ", *p);