]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/strv.h
Merge pull request #13589 from williamvds/systemctl-edit-copy
[thirdparty/systemd.git] / src / basic / strv.h
index f2aa6c239bdca4fd4be27d756d4cdb92dcf8599d..a85c289d7399b03427c274462061a5e6df39c664 100644 (file)
@@ -63,7 +63,7 @@ char **strv_new_internal(const char *x, ...) _sentinel_;
 char **strv_new_ap(const char *x, va_list ap);
 #define strv_new(...) strv_new_internal(__VA_ARGS__, NULL)
 
-#define STRV_IGNORE ((const char *) -1)
+#define STRV_IGNORE ((const char *) POINTER_MAX)
 
 static inline const char* STRV_IFNOTNULL(const char *x) {
         return x ? x : STRV_IGNORE;