From 4c17aa5a10ffc232e7e4de45d8ab0b52cfc3010b Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 4 Mar 2016 16:43:14 +0100 Subject: RPM generation --- dma/ipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dma/ipe.c') diff --git a/dma/ipe.c b/dma/ipe.c index e1f7835..fb35dbc 100644 --- a/dma/ipe.c +++ b/dma/ipe.c @@ -651,7 +651,7 @@ int dma_ipe_stream_read(pcilib_dma_context_t *vctx, pcilib_dma_engine_t dma, uin if ((ctx->dma_flags&IPEDMA_FLAG_NOSYNC) == 0) pcilib_kmem_sync_block(ctx->dmactx.pcilib, ctx->pages, PCILIB_KMEM_SYNC_FROMDEVICE, cur_read); - void *buf = pcilib_kmem_get_block_ua(ctx->dmactx.pcilib, ctx->pages, cur_read); + void *buf = (void*)pcilib_kmem_get_block_ua(ctx->dmactx.pcilib, ctx->pages, cur_read); ret = cb(cbattr, packet_flags, ctx->page_size, buf); if (ret < 0) return -ret; -- cgit v1.2.3