Implement a function using sizeof : <p>I am new in C programming and using a specific library. I need to use this function:</p>

<pre><code>le_result_t le_ecall_ExportMsd ( le_ecall_CallRef_t     ecallRef,
                                 uint8_t *              msdPtr,
                                 size_t *               msdNumElementsPtr 
                                )
</code></pre>

<p>Where the parameters:</p>

<pre><code>[in] ecallRef                   eCall reference
[out] msdPtr                    the encoded MSD
[in,out] msdNumElementsPtr  
</code></pre>

<p>In order to get que encoded MSD I developed this code (a little bit simplified):</p>

<pre><code>static le_ecall_CallRef_t    LastTestECallRef = NULL;
uint8_t msd[] = NULL;

void StarteCall (void)
{
    le_ecall_ExportMsd(LastTestECallRef, msd, sizeof(msd));
}
</code></pre>

<p>Sizeof is returning size_t and I need size_t * so I am getting the following error:</p>

<pre><code>expected 'size_t *' but argument is of type 'unsigned int'  
</code></pre>

<p>I would be gratefull if somebody could help me.     </p>
