title: Cannot convert argument 1 from " unsigned int *" to "size t *"
body: <p>I am working on Student Project and got SDK from site and building libraries on Visual Studio. Once I build libraries using cmake opened solution in VS and build in VS gives me above error. Not sure how to fix it.</p>
  
  <p>This is proc where I get error. </p>
  
  <pre><code>pmdDllExport int pmdpGetSourceDataDescription (unsigned hnd, PMDDataDescription *result)
  {
      if (!idOk (hnd))
      {
          globalErrorMessage = "unknown handle";
          return PMD_UNKNOWN_HANDLE;
      }
  
      SrcPluginData *dat = g_data[hnd];
  
      int c_channels = 1;
      //
      dat-&gt;currentDD.type = PMD_USER_DEFINED_0; /* USER DEFINE TYPE DATA for O3D3xx data*/
      dat-&gt;currentDD.subHeaderType = PMD_IMAGE_DATA;
      dat-&gt;currentDD.img.numSubImages = 6;/* Mentions number of images in image data
                                          buffer. We have six images*/
  
      ...
  
      /* Get Size of image data buffer */
      **dat-&gt;o3d3xxCamera-&gt;getFrameDataSize (&amp; (dat-&gt;currentDD.size));**
  
      dat-&gt;currentDD.PID = hnd;
      dat-&gt;currentDD.DID = g_did;
  
      /*Output this descriptor to calling function */
      memcpy (result , &amp;dat-&gt;currentDD, sizeof (PMDDataDescription));
  
      return PMD_OK;
  }
  </code></pre>
  
  <p>When I checked what is <code>o3d3xxCamera-&gt;getFrameDataSize</code> defined as it is defined as </p>
  
  <pre><code>int32_t getFrameDataSize (size_t *dataSize);
  </code></pre>
  
  <p>I looked at many queries and they say better to pass variable as type <code>size_t</code> When I checked what is <code>dat-&gt;currentdd</code> its struct. So I am not sure how to change this type to <code>size_t</code>. </p>
  
  <pre><code>/**&lt;local datadescriptor of the current data */
  PMDDataDescription currentDD;
  
  struct PMDDataDescription
  {
    unsigned PID;
    unsigned DID;
    unsigned type;
    unsigned size;
  
    unsigned subHeaderType;
    ...
  </code></pre>