There's an error that reports that UINT32TMAX is only unsigned in ISO C99,
so here's a patch that helps it along:

--- orig/print_plugin.h
+++ mod/print_plugin.h
@@ -26,7 +26,7 @@
 #define DEFAULT_PRINT_REFRESH_TIME 10
 #define AVERAGE_CHAIN_LEN 10
 #define PRINT_CACHE_ENTRIES 16411
-#define UINT32TMAX 4290000000
+#define UINT32TMAX 4290000000U

 /* structures */
 struct scratch_area {


--- orig/sql_common.h
+++ mod/sql_common.h
@@ -29,7 +29,7 @@
 #define QUERY_BUFFER_SIZE 32768
 #define MAGIC 14021979
 #define DEF_HDR_FIELD_LEN 128
-#define UINT32TMAX 4290000000
+#define UINT32TMAX 4290000000U
 #define MAX_LOGFILE_SIZE 2048000000
 #define MAX_LOGFILE_ROTATIONS 1000


Reply via email to