From: Frank Mori Hess Date: Fri, 26 Oct 2007 21:10:05 +0000 (+0000) Subject: Fixed compile warning on amd64 X-Git-Tag: r0_8_1~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=464fb550cc082762e33edbaf7f5652fa169139de;p=comedilib.git Fixed compile warning on amd64 --- 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); }