1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/firmware/common/format.c b/firmware/common/format.c
index 987af41..8b95566 100644
--- a/firmware/common/format.c
+++ b/firmware/common/format.c
@@ -122,6 +122,7 @@ int format(
             break;

         case 'l':
+        case 'z': /* assume sizeof(size_t) == sizeof(long) */
             ch = *fmt++;
             switch(ch) {
                 case 'x':