Skip to content
Browse files

util: fix map_buffer() warning message

Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
  • Loading branch information...
1 parent 05d2230 commit 2274a49d10ed25663db02c9ad5df2064a57109fc Felipe Contreras committed Feb 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 util.c
View
2 util.c
@@ -70,7 +70,7 @@ bool gstdsp_map_buffer(void *self,
buf->data,
(size_t)buf->data % alignment,
buf->data + buf->size,
- (size_t)buf->data + buf->size % alignment,
+ (size_t)(buf->data + buf->size) % alignment,
dma_dir_to_str(b->dir));
}

0 comments on commit 2274a49

Please sign in to comment.
Something went wrong with that request. Please try again.