Fixed compile warning on amd64
authorFrank Mori Hess <fmhess@speakeasy.net>
Fri, 26 Oct 2007 21:10:05 +0000 (21:10 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Fri, 26 Oct 2007 21:10:05 +0000 (21:10 +0000)
demo/ao_mmap.c

index 03611f7091be1499b65b2815e1418c5c32051f23..e9d42b4c8f8a02c243665b5930f78131ab15053f 100644 (file)
@@ -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);
        }