projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06a5a78
)
fix for compiler warning about strict aliasing rules
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 19 Jun 2004 19:55:26 +0000
(19:55 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 19 Jun 2004 19:55:26 +0000
(19:55 +0000)
testing/mode0_read.c
patch
|
blob
|
history
diff --git
a/testing/mode0_read.c
b/testing/mode0_read.c
index dc4a17298f6c65840b6a738b85d039c01b48b943..0c67aa53a157f08683de7d0c7650d40d600a9fd8 100644
(file)
--- a/
testing/mode0_read.c
+++ b/
testing/mode0_read.c
@@
-19,7
+19,7
@@
int test_mode0_read(void)
{
comedi_trig it;
-
l
sampl_t data;
+ sampl_t data;
unsigned int chanspec;
int save_errno;
int ret;
@@
-31,7
+31,7
@@
int test_mode0_read(void)
it.mode = 0;
it.n_chan = 1;
it.chanlist = &chanspec;
- it.data =
(sampl_t *)
&data;
+ it.data = &data;
it.n = 1;
chanspec = CR_PACK(0,0,0);