[PATCH 49/52] samples/base_sp: Fix printf() warning
Joel Sherrill
joel.sherrill at oarcorp.com
Wed Oct 8 20:28:56 UTC 2014
Done.
On 10/8/2014 3:20 PM, Gedare Bloom wrote:
> On Wed, Oct 8, 2014 at 3:16 PM, Joel Sherrill <joel.sherrill at oarcorp.com> wrote:
>> ---
>> testsuites/samples/base_sp/apptask.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/testsuites/samples/base_sp/apptask.c b/testsuites/samples/base_sp/apptask.c
>> index c39d64f..aa1da14 100644
>> --- a/testsuites/samples/base_sp/apptask.c
>> +++ b/testsuites/samples/base_sp/apptask.c
>> @@ -32,13 +32,14 @@ rtems_task Application_task(
>> {
>> rtems_id tid;
>> rtems_status_code status;
>> + unsigned int a = (unsigned int) argument;
>>
>> status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
>> directive_failed( status, "ident" );
>>
>> printf(
>> "Application task was invoked with argument (%" PRIdrtems_task_argument ") "
> %u ?
>
>> - "and has id of 0x%" PRIxrtems_id "\n", argument, tid
>> + "and has id of 0x%" PRIxrtems_id "\n", a, tid
>> );
>>
>> TEST_END();
>> --
>> 1.9.3
>>
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the devel
mailing list