]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/prioq.h
tree-wide: use UINT64_MAX or friends
[thirdparty/systemd.git] / src / basic / prioq.h
index 951576c021773cadb6143e0beb9c59b6a050da51..7c7664761135a761e194458fe931433a63991d81 100644 (file)
@@ -8,7 +8,7 @@
 
 typedef struct Prioq Prioq;
 
-#define PRIOQ_IDX_NULL ((unsigned) -1)
+#define PRIOQ_IDX_NULL (UINT_MAX)
 
 Prioq *prioq_new(compare_func_t compare);
 Prioq *prioq_free(Prioq *q);