--- ts-1.0/error.c.orig	2018-06-03 13:53:22.813666542 +0000
+++ ts-1.0/error.c	2018-06-03 13:53:32.153727699 +0000
@@ -47,7 +47,7 @@
 static void dump_proc_info(FILE *out)
 {
     print_date(out);
-    fprintf(out, "pid %i\n", getpid());
+    fprintf(out, "pid %li\n", getpid());
     if (process_type == SERVER)
         fprintf(out, "type SERVER\n");
     else if (process_type == CLIENT)