* fileline.c (fileline_initialize): Print pid_t as long.
From-SVN: r250675
+2017-07-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * fileline.c (fileline_initialize): Print pid_t as long.
+
2017-07-26 Tony Reix <tony.reix@atos.net>
* configure.ac: Check for XCOFF32/XCOFF64. Check for loadquery.
filename = "/proc/curproc/file";
break;
case 4:
- snprintf (buf, sizeof (buf), "/proc/%d/object/a.out", getpid ());
+ snprintf (buf, sizeof (buf), "/proc/%ld/object/a.out",
+ (long) getpid ());
filename = buf;
break;
default: