aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-datespec.h
diff options
context:
space:
mode:
Diffstat (limited to 'filter/filter-datespec.h')
-rw-r--r--filter/filter-datespec.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/filter/filter-datespec.h b/filter/filter-datespec.h
index a606cc1d2f..5d20380a47 100644
--- a/filter/filter-datespec.h
+++ b/filter/filter-datespec.h
@@ -31,7 +31,12 @@
typedef struct _FilterDatespec FilterDatespec;
typedef struct _FilterDatespecClass FilterDatespecClass;
-typedef enum _FilterDatespec_type { FDST_NOW, FDST_SPECIFIED, FDST_X_AGO, FDST_UNKNOWN } FilterDatespec_type;
+typedef enum _FilterDatespec_type {
+ FDST_UNKNOWN = -1,
+ FDST_NOW,
+ FDST_SPECIFIED,
+ FDST_X_AGO,
+} FilterDatespec_type;
struct _FilterDatespec {
FilterElement parent;