diff options
| author | Mattias Andrée <m@maandree.se> | 2024-10-14 15:51:39 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2024-10-14 15:51:39 +0200 |
| commit | c3d5fdc6fba10b7ab71bb5437f8fdad4b2038b3d (patch) | |
| tree | ad62569e3baac1a2b051cf8f6cab00233a17621c /coopgammad.c | |
| parent | Update e-mail (diff) | |
| download | coopgammad-c3d5fdc6fba10b7ab71bb5437f8fdad4b2038b3d.tar.gz coopgammad-c3d5fdc6fba10b7ab71bb5437f8fdad4b2038b3d.tar.bz2 coopgammad-c3d5fdc6fba10b7ab71bb5437f8fdad4b2038b3d.tar.xz | |
m misc
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'coopgammad.c')
| -rw-r--r-- | coopgammad.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coopgammad.c b/coopgammad.c index ecf4619..8638679 100644 --- a/coopgammad.c +++ b/coopgammad.c @@ -166,7 +166,7 @@ GCC_ONLY(__attribute__((__nonnull__))) static int get_method(const char *restrict arg) { -#if LIBGAMMA_METHOD_MAX > 5 +#if LIBGAMMA_METHOD_COUNT > 6 # warning libgamma has added more adjustment methods #endif @@ -278,7 +278,7 @@ daemonise(int keep_stderr) fd = open(pidpath, O_WRONLY); if (fd < 0) goto fail; - if (dprintf(fd, "%llu\n", (unsigned long long)getpid()) < 0) + if (dprintf(fd, "%llu\n", (unsigned long long int)getpid()) < 0) goto fail; close(fd); fd = -1; |
