projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80281d3
)
fixed error checking that tested for unsigned variables being negative
author
Frank Mori Hess
<fmhess@speakeasy.net>
Tue, 2 Apr 2002 19:55:33 +0000
(19:55 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Tue, 2 Apr 2002 19:55:33 +0000
(19:55 +0000)
demo/eeprom_dump.c
patch
|
blob
|
history
diff --git
a/demo/eeprom_dump.c
b/demo/eeprom_dump.c
index 5403007ac6905f2d13d0498bb7224f63d9fbab70..316866652bc719898511ca5c203d7690bbf12650 100644
(file)
--- a/
demo/eeprom_dump.c
+++ b/
demo/eeprom_dump.c
@@
-41,8
+41,8
@@
int main(int argc, char *argv[])
int read_eeprom(comedi_t *it,unsigned int **eeprom)
{
-
unsigned
int subd;
-
unsigned
int n,i,ret;
+ int subd;
+ int n,i,ret;
lsampl_t data;
unsigned int *ptr;
lsampl_t maxdata;