projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b96772
)
Fixed warning on 32 bit arch, caused by my fix for 64 bits.
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 29 Oct 2007 01:12:57 +0000
(
01:12
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 29 Oct 2007 01:12:57 +0000
(
01:12
+0000)
demo/ao_mmap.c
patch
|
blob
|
history
diff --git
a/demo/ao_mmap.c
b/demo/ao_mmap.c
index e9d42b4c8f8a02c243665b5930f78131ab15053f..b29593813543f39e942f08fe45aa336096dbaa8c 100644
(file)
--- 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 %l
i more samples as written\n",
bytes_unmarked / sizeof(sampl_t));
+ printf("marked %l
ui more samples as written\n", (unsigned long)
bytes_unmarked / sizeof(sampl_t));
}else
usleep(10000);
}