summaryrefslogtreecommitdiffstats
path: root/board/prodrive/alpr
diff options
context:
space:
mode:
Diffstat (limited to 'board/prodrive/alpr')
-rw-r--r--board/prodrive/alpr/fpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/prodrive/alpr/fpga.c b/board/prodrive/alpr/fpga.c
index 93f2449a1b..3666a9a414 100644
--- a/board/prodrive/alpr/fpga.c
+++ b/board/prodrive/alpr/fpga.c
@@ -168,7 +168,7 @@ int fpga_done_fn (int cookie)
/* writes the complete buffer to the FPGA
writing the complete buffer in one function is much faster,
then calling it for every bit */
-int fpga_write_fn (void *buf, size_t len, int flush, int cookie)
+int fpga_write_fn (const void *buf, size_t len, int flush, int cookie)
{
size_t bytecount = 0;
unsigned char *data = (unsigned char *) buf;
OpenPOWER on IntegriCloud