From 2bda41263f2464c271509b0bd9ea9062c239d851 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 20 Nov 2015 05:55:36 +0100 Subject: Fix AVX memory copy --- pcilib/pagecpy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcilib/pagecpy.h') 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 } -- cgit v1.2.3