summaryrefslogtreecommitdiffstats
path: root/pcilib/pagecpy.h
diff options
context:
space:
mode:
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
}