summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/pttstruct.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index fdfbb9c3..f560378c 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -7,7 +7,9 @@
#include "config.h" // various sizes in SHM
#include "statistic.h" // for MAX_STATS
-#define IDLEN (12) /* Length of bid/uid */
+// warning: because some other places is using #IDLEN to convert as string,
+// so don't quote it - otherwise those code will fail.
+#define IDLEN 12 /* Length of bid/uid */
#define IPV4LEN (15) /* a.b.c.d form */
// GCC pragma to prevent paddings