summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-03-18 14:43:14 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-03-18 14:43:14 +0000
commit27d1265806cc2306b7c2a2be6a225beccaf681e0 (patch)
tree74d2ae756337960a334858e0bb5ebf9df148dd1e
parent0f470505f090112fa88fa3c8cf7408dfc9a64310 (diff)
downloadATCD-27d1265806cc2306b7c2a2be6a225beccaf681e0.tar.gz
ChangeLogTag:Sun Mar 18 08:31:34 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLogs/ChangeLog-02a6
-rw-r--r--ChangeLogs/ChangeLog-03a6
-rw-r--r--examples/IPC_SAP/FILE_SAP/client.cpp4
4 files changed, 20 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8fba5e8c878..f219dd5fa1f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sun Mar 18 08:31:34 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
+
+ * examples/IPC_SAP/FILE_SAP/client.cpp (main): Added a couple of
+ casts so that the arguments passed to printf() will match the
+ format specifier types.
+
Sat Mar 17 18:02:28 2001 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: Fixed settings for exceptions and
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index 8fba5e8c878..f219dd5fa1f 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,9 @@
+Sun Mar 18 08:31:34 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
+
+ * examples/IPC_SAP/FILE_SAP/client.cpp (main): Added a couple of
+ casts so that the arguments passed to printf() will match the
+ format specifier types.
+
Sat Mar 17 18:02:28 2001 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: Fixed settings for exceptions and
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 8fba5e8c878..f219dd5fa1f 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,9 @@
+Sun Mar 18 08:31:34 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
+
+ * examples/IPC_SAP/FILE_SAP/client.cpp (main): Added a couple of
+ casts so that the arguments passed to printf() will match the
+ format specifier types.
+
Sat Mar 17 18:02:28 2001 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: Fixed settings for exceptions and
diff --git a/examples/IPC_SAP/FILE_SAP/client.cpp b/examples/IPC_SAP/FILE_SAP/client.cpp
index 2c70d643ece..e82c19788ef 100644
--- a/examples/IPC_SAP/FILE_SAP/client.cpp
+++ b/examples/IPC_SAP/FILE_SAP/client.cpp
@@ -50,7 +50,7 @@ main (int argc, char *argv[])
ACE_OS::printf ("fileinfo : mode = %o\nno of links = %lu\nsize = %lu\n",
fileinfo.mode_ & 0777,
ACE_static_cast(unsigned long,fileinfo.nlink_),
- fileinfo.size_);
+ (u_long) fileinfo.size_);
off_t fpos = cli_file.position ();
@@ -61,7 +61,7 @@ main (int argc, char *argv[])
1);
else
ACE_OS::printf ("current filepointer is at %ld\n",
- fpos);
+ (long int) fpos);
if (cli_file.position (0,
SEEK_SET) == -1)