about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/Modules/parameter.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1f8fe0c3e..250d94e29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-04  Peter Stephenson  <pws@cambridgesiliconradio.com>
+
+	* 12158: Src/Modules/parameter.c: cast pid_t to int for printing.
+
 2000-07-03  Peter Stephenson  <pws@cambridgesiliconradio.com>
 
 	* 12149: acconfig.h, configure.in, Src/Modules/zftp.c:
diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c
index 4378d0961..b8bae47ce 100644
--- a/Src/Modules/parameter.c
+++ b/Src/Modules/parameter.c
@@ -1246,7 +1246,7 @@ pmjobstate(int job)
 	else
 	    state = sigmsg(WTERMSIG(pn->status));
 
-	sprintf(buf, ":%d=%s", pn->pid, state);
+	sprintf(buf, ":%d=%s", (int)pn->pid, state);
 
 	ret = dyncat(ret, buf);
     }