]> 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 1fb57bfa4ca433b3c6010fd0def8ebb6414de4f4..7c7664761135a761e194458fe931433a63991d81 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-2.1+ */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 #pragma once
 
 #include <stdbool.h>
@@ -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);