summary refs log tree commit diff
path: root/src/core/ndisc/nm-ndisc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ndisc/nm-ndisc.h')
-rw-r--r--src/core/ndisc/nm-ndisc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ndisc/nm-ndisc.h b/src/core/ndisc/nm-ndisc.h
index b8f8b06e..8f1a12a2 100644
--- a/src/core/ndisc/nm-ndisc.h
+++ b/src/core/ndisc/nm-ndisc.h
@@ -40,7 +40,7 @@ typedef enum {
 
 const char *nm_ndisc_dhcp_level_to_string(NMNDiscDHCPLevel level);
 
-#define NM_NDISC_INFINITY_U32 ((uint32_t) - 1)
+#define NM_NDISC_INFINITY_U32 ((uint32_t) -1)
 
 /* It's important that this is G_MAXINT64, so that we can meaningfully do
  * MIN(e1, e2) to find the minimum expiry time (and properly handle if any