doesn't know a type (casting)
<p>I want to add a variable in a message header so I used <code>unit8_t</code> to define them but when I want to read this variable I need to cast it in double I did:   </p>

<pre><code>hello.positionx = unit8_t (m_ipv4-&gt;GetObject&lt;MobilityModel&gt; ()-&gt;GetPosition ().x);   
hello.positiony = unit8_t (m_ipv4-&gt;GetObject&lt;MobilityModel&gt; ()-&gt;GetPosition ().y);   
</code></pre>

<p>as you can see these lines are similar but when I run my program it shows an error in second line which : <code>unit8_t</code> in not defined in this scope<br>
I added the Header :    </p>

<pre><code> #include"stdint.h"  
</code></pre>

<p>I don't know, what's the meaning of this error. I will be thankful if you help me .  </p>
