<div dir="ltr">Hi, I'm working with rtems task and I'm trying to pass a pointer object as argument of the task, using the RTEMS API.<div><br></div><div>I saw that rtems_task_argument is defined as uintptr_t, so I assume that the way to do it, is just a cast. Is it true?, or there is another way to do it.</div><div>Also, I wonder why uintptr_t was chosen instead of a void*.<br></div><div><br></div><div>Thanks!</div><div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:16px;font-family:Arial;color:rgb(0,0,0);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;background-color:transparent"><img src="http://www.tallertechnologies.com/templates/tallertechnologies/images/signature.png" width="200" height="78"><br></span></p><br><span style="font-size:16px;font-family:Arial;color:rgb(0,0,0);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;background-color:transparent"></span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:16px;font-family:Arial;color:rgb(0,0,0);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;background-color:transparent"><font size="4"><span style="font-family:verdana,sans-serif">Gabriel Alejandro Ibarra</span></font><br></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><font><span style="font-family:verdana,sans-serif;color:rgb(0,0,0);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">Software Engineer</span></font><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);font-weight:normal;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;background-color:transparent"></span></p><br><span style="font-size:15px;font-family:Arial;color:rgb(0,0,0);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;background-color:transparent"></span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:Arial;color:rgb(0,0,0);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">San Lorenzo 47, 3rd Floor, Office 5</span></font></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:Arial;color:rgb(0,0,0);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">Córdoba, Argentina </span></font></p><font size="1"><br><span style="font-family:Arial;color:rgb(0,0,0);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;background-color:transparent"></span></font><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:Arial;color:rgb(0,0,0);font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">Phone:</span><span style="font-family:Arial;color:rgb(0,0,0);font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;background-color:transparent"> +54 351 4217888<br></span></font></p></div></div>
</div></div>