build fix: src on memcpy is allways const
[open-ath9k-htc-firmware.git] / target_firmware / magpie_fw_dev / target / inc / adf_os_mem.h
index 2e8b44a7d459f1575e0797f721b467f0f3575bcb..ec7691fb333a551712f15c7180201004f2bbaaf9 100755 (executable)
@@ -76,7 +76,7 @@ adf_os_mem_free(void *buf)
  * @param[in] size    buffer size
  */
 static inline void
-adf_os_mem_copy(void *dst, void *src, adf_os_size_t size)
+adf_os_mem_copy(void *dst, const void *src, adf_os_size_t size)
 {
     __adf_os_mem_copy(dst, src, size);
 }