summaryrefslogtreecommitdiffstats
path: root/pcilib/pagecpy.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-11-20 05:55:36 +0100
committerSuren A. Chilingaryan <csa@suren.me>2015-11-20 05:55:36 +0100
commit2bda41263f2464c271509b0bd9ea9062c239d851 (patch)
treea3f96dea1c86ecef4f822bff4f94faa133497e11 /pcilib/pagecpy.h
parent8ee679f837aed09f2abe5d47186505f98ccb4b6d (diff)
downloadpcitool-2bda41263f2464c271509b0bd9ea9062c239d851.tar.gz
pcitool-2bda41263f2464c271509b0bd9ea9062c239d851.tar.bz2
pcitool-2bda41263f2464c271509b0bd9ea9062c239d851.tar.xz
pcitool-2bda41263f2464c271509b0bd9ea9062c239d851.zip
Fix AVX memory copy
Diffstat (limited to 'pcilib/pagecpy.h')
-rw-r--r--pcilib/pagecpy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcilib/pagecpy.h b/pcilib/pagecpy.h
index ef8636b..4bcf505 100644
--- a/pcilib/pagecpy.h
+++ b/pcilib/pagecpy.h
@@ -20,7 +20,7 @@ extern "C" {
* @param[in] size - size of memory region in bytes.
* @return - `dst` or NULL on error
*/
-void pcilib_pagecpy(void *dst, void *src, size_t size);
+void pcilib_pagecpy(void *dst, const void *src, size_t size);
#ifdef __cplusplus
}