title: incompatible types when assigning to type 'char[128]' from type 'char *'
body: <p>I'm trying to assign char* field to char* field, but get this error:</p>
  
  <p><code>incompatible types when assigning to type 'char[128]' from type 'char *'</code></p>
  
  <p>how can I fix this? and why is that happening?</p>
  
  <pre><code>    AddressItem_Callback_ContextType *context = (AddressItem_Callback_ContextType *)malloc(sizeof(AddressItem_Callback_ContextType));
  
     //check if icons need to be downloaded
     if (pEntity-&gt;cBigIcon[0] != 0){
        if (res_get(RES_BITMAP,RES_SKIN, pEntity-&gt;cBigIcon) == NULL){
  
            context-&gt;Icon = pEntity-&gt;cBigIcon;
            context-&gt;iID = pEntity-&gt;iID;
  
           res_download(RES_DOWNLOAD_IMAGE, pEntity-&gt;cBigIcon, NULL, "",TRUE, 1, addressItem_icon_download_callback, context );
        }
     }
  </code></pre>
  
  <p>declarations:</p>
  
  <pre><code>typedef struct
  {
      int  iID;        //  POI Type ID
      int  iExternalPoiServiceID; // Service ID
      int  iExternalPoiProviderID; // Provider ID
      char cBigIcon[MAX_ICON_LENGHT];
      char cSmallIcon[MAX_ICON_LENGHT];
      char cBigPromotionIcon[MAX_ICON_LENGHT];
      char cSmallPromotionIcon[MAX_ICON_LENGHT];
      char cOnClickUrl[MAX_URL_LENGTH];
  ..
  } RTExternalPoiType;
  
  typedef struct
  {
      int  iID;        //  POI Type ID
     //int  iExternalPoiServiceID; // Service ID
     // int  iExternalPoiProviderID; // Provider ID
      char Icon[MAX_ICON_LENGHT];
  } AddressItem_Callback_ContextType;
  </code></pre>