lib.h: Make `MAXIDSZ' clearer about where the value comes from.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 25 Mar 2022 18:58:39 +0000 (18:58 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 25 Mar 2022 18:58:39 +0000 (18:58 +0000)
The number 99 is just a bit too round to believe that it's actually
carefully calculated rather than chosen arbitrarily.

lib.h

diff --git a/lib.h b/lib.h
index 5e8b865..b3ac99a 100644 (file)
--- a/lib.h
+++ b/lib.h
@@ -115,7 +115,7 @@ extern void store_filename(char *buf, ident id);
 
 #define DIF_MUSTVOLINF 1u
 #define DIF_MUSTIFOHASH 2u
-#define MAXIDSZ 99
+#define MAXIDSZ (32 + 1 + 32 + 1 + 32 + 1)
 extern int dvd_id(char *p, dvd_reader_t *dvd, unsigned f, const char *file);
 
 #endif