From 464fb550cc082762e33edbaf7f5652fa169139de Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 26 Oct 2007 21:10:05 +0000 Subject: [PATCH] Fixed compile warning on amd64 --- demo/ao_mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/ao_mmap.c b/demo/ao_mmap.c index 03611f7..e9d42b4 100644 --- a/demo/ao_mmap.c +++ b/demo/ao_mmap.c @@ -171,7 +171,7 @@ int main(int argc, char *argv[]) comedi_perror("comedi_mark_buffer_written"); exit(1); } - printf("marked %i more samples as written\n", bytes_unmarked / sizeof(sampl_t)); + printf("marked %li more samples as written\n", bytes_unmarked / sizeof(sampl_t)); }else usleep(10000); } -- 2.26.2