summaryrefslogtreecommitdiff
path: root/TAO/examples/RTScheduling/Job_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/RTScheduling/Job_i.cpp')
-rw-r--r--TAO/examples/RTScheduling/Job_i.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/examples/RTScheduling/Job_i.cpp b/TAO/examples/RTScheduling/Job_i.cpp
index 6179d1dac37..b8aee4ede56 100644
--- a/TAO/examples/RTScheduling/Job_i.cpp
+++ b/TAO/examples/RTScheduling/Job_i.cpp
@@ -37,7 +37,7 @@ Job_i::poa (void)
}
int
-Job_i::init (ACE_Arg_Shifter& arg_shifter)
+Job_i::init (ACE_TArg_Shifter<char>& arg_shifter)
{
job_name_ = arg_shifter.get_current (); // Read the name of the Job
arg_shifter.consume_arg ();
@@ -75,7 +75,7 @@ Job_i::work (CORBA::ULong work,
char msg [BUFSIZ];
ACE_OS::sprintf (msg,
"Guid is "
- ACE_SIZE_T_FORMAT_SPECIFIER
+ ACE_SIZE_T_FORMAT_SPECIFIER_A
"\n", guid_);
dt_creator_->log_msg (msg);
@@ -137,7 +137,7 @@ Job_i::dump_stats (void)
char fname [BUFSIZ];
ACE_OS::sprintf (fname,
"Job_"
- ACE_SIZE_T_FORMAT_SPECIFIER
+ ACE_SIZE_T_FORMAT_SPECIFIER_A
".dat",
guid_);
@@ -150,7 +150,7 @@ Job_i::dump_stats (void)
char msg [BUFSIZ];
ACE_OS::sprintf (msg,
"#Schedule Output for DT "
- ACE_SIZE_T_FORMAT_SPECIFIER,
+ ACE_SIZE_T_FORMAT_SPECIFIER_A,
guid_);
task_stats_->dump_samples (fname,