summaryrefslogtreecommitdiffstats
path: root/util/xchatd.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/xchatd.c')
-rw-r--r--util/xchatd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/xchatd.c b/util/xchatd.c
index 862ecf2c..bcc3d6ea 100644
--- a/util/xchatd.c
+++ b/util/xchatd.c
@@ -3135,7 +3135,7 @@ start_daemon()
if (fd >= 0)
{
/* sprintf(buf, "%5d\n", value); */
- sprintf(buf, "%5d\n", getpid());
+ sprintf(buf, "%5d\n", (int)getpid());
write(fd, buf, 6);
close(fd);
}